diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2015-07-08 16:35:06 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-07-31 13:32:31 +0200 |
commit | 8b06260836ab47abbb5ea49d889660a0ed8adf90 (patch) | |
tree | 743827d5440c9513a0bae63d5f3cc0acf7ea2938 /Documentation | |
parent | d12c0aaf3780c5b26b4ea9e795252381f586c063 (diff) | |
download | linux-8b06260836ab47abbb5ea49d889660a0ed8adf90.tar.gz linux-8b06260836ab47abbb5ea49d889660a0ed8adf90.tar.bz2 linux-8b06260836ab47abbb5ea49d889660a0ed8adf90.zip |
i2c: core: only use set_scl for bus recovery after calling prepare_recovery
Using set_scl may be ineffective before calling the driver specific
prepare_recovery callback, which might change into a test mode. So
instead of setting SCL in i2c_generic_scl_recovery, move it to
i2c_generic_recovery (after the optional prepare_recovery).
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Acked-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions