From: Ben Dooks Date: Thu, 13 Mar 2014 14:37:38 +0000 (+0000) Subject: i2c: gpio: OF gpio code does not handle defered probe case X-Git-Tag: v3.15-rc1~41^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e7b1153a39e49715a1f75c654d8da66e3638c4;p=pandora-kernel.git i2c: gpio: OF gpio code does not handle defered probe case When using device-tree and the i2c-gpio driver is called before the GPIO node has been probed then it needs to correctly defer the probe instead of returning a permanent error that the gpio numbers are not valid. This fixes the following error: /i2c@2: invalid GPIO pins, sda=-517/scl=-517 Signed-off-by: Ben Dooks Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed