diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2014-03-13 15:37:38 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-03-13 22:16:43 +0100 |
commit | 40e7b1153a39e49715a1f75c654d8da66e3638c4 (patch) | |
tree | ee3aefe23650c22a0f5a15d5bc581165e8547cf8 /init | |
parent | i2c: Add message transfer tracepoints for SMBUS [ver #2] (diff) | |
download | linux-40e7b1153a39e49715a1f75c654d8da66e3638c4.tar.xz linux-40e7b1153a39e49715a1f75c654d8da66e3638c4.zip |
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 <ben.dooks@codethink.co.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions