Grygorii Strashko
2e65676f71
i2c: davinci: use bus recovery infrastructure
...
This patch converts Davinci I2C driver to use I2C bus recovery
infrastructure, introduced by commit 5f9296ba21b3 ("i2c: Add
bus recovery infrastructure").
The i2c_bus_recovery_info is configured for Davinci I2C adapter
only in case scl_pin is provided in platform data.
As the controller must be held in reset while doing so, the
recovery routine must re-init the controller. Since this was already
being done after each call to i2c_recover_bus, move those calls into
the recovery_prepare/unprepare routines and as well.
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-04-10 17:56:27 +02:00
..
2014-01-24 18:21:11 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-05-22 10:09:21 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-03-13 09:44:59 +01:00
2015-03-15 10:54:08 +01:00
2014-12-14 16:10:09 -08:00
2015-03-15 10:51:34 +01:00
2015-03-15 10:28:34 +01:00
2015-03-13 15:10:59 +01:00
2014-10-20 16:20:37 +02:00
2014-10-20 16:20:37 +02:00
2015-03-15 10:20:45 +01:00
2014-10-20 16:20:37 +02:00
2015-03-13 15:10:54 +01:00
2014-10-19 12:50:44 -07:00
2015-04-10 17:56:27 +02:00
2015-03-07 01:08:26 +01:00
2015-03-15 10:22:38 +01:00
2015-01-26 12:26:25 +01:00
2015-02-17 16:42:43 +01:00
2015-03-15 11:23:05 +01:00
2015-03-22 10:53:51 +01:00
2014-06-02 19:24:33 +02:00
2015-03-27 16:56:21 +01:00
2014-10-20 16:20:37 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:37 +02:00
2014-10-20 16:20:37 +02:00
2014-12-04 00:51:30 +01:00
2014-11-07 18:35:33 +01:00
2015-03-09 10:51:59 +01:00
2014-10-20 16:20:37 +02:00
2015-03-15 10:54:09 +01:00
2015-03-15 10:50:28 +01:00
2014-10-20 16:20:37 +02:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2015-03-15 10:50:02 +01:00
2015-04-03 21:22:52 +02:00
2014-10-20 16:20:37 +02:00
2014-11-18 16:16:44 +01:00
2015-03-27 16:53:41 +01:00
2014-12-17 19:26:03 +01:00
2015-03-15 10:14:10 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-03-15 10:51:13 +01:00
2015-02-20 18:01:23 +01:00
2014-10-20 16:20:37 +02:00
2014-12-14 16:10:09 -08:00
2015-03-14 12:08:21 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-10-20 16:20:37 +02:00
2014-11-07 18:35:33 +01:00
2015-03-13 15:10:58 +01:00
2014-10-20 16:20:37 +02:00
2015-03-13 15:10:57 +01:00
2014-10-20 16:20:37 +02:00
2014-03-13 09:44:59 +01:00
2014-12-14 16:10:09 -08:00
2015-03-13 15:10:53 +01:00
2015-03-27 16:53:38 +01:00
2014-10-20 16:20:37 +02:00
2015-01-13 16:21:05 +01:00
2014-01-13 13:56:56 +01:00
2015-01-24 05:43:45 +01:00
2014-01-24 18:24:31 +01:00
2014-10-20 16:20:37 +02:00
2015-01-30 17:58:43 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:37 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-10-20 16:20:37 +02:00
2014-10-20 16:20:37 +02:00
2014-10-20 16:20:37 +02:00
2014-11-07 18:35:33 +01:00
2015-03-15 10:16:17 +01:00
2014-01-13 13:56:52 +01:00
2014-10-20 16:20:37 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-03-13 15:10:57 +01:00
2015-03-15 10:29:53 +01:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:37 +02:00
2015-04-03 21:22:52 +02:00
2015-04-03 21:22:52 +02:00
2014-12-14 16:10:09 -08:00