]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: core: Parse SDA hold time from firmware
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 25 Jul 2018 14:39:25 +0000 (17:39 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 8 Aug 2018 20:28:52 +0000 (22:28 +0200)
commit9acdf7fabd0d90c04073e0eba5712c1a80525c7e
tree5d33c0ec860b0c48d5973838ffe6249c91a19e13
parent06da595d0e214a02f83f0d5061875f4431956c09
i2c: core: Parse SDA hold time from firmware

There are two drivers already using the SDA hold time setting.
It might be more in the future, thus, make I2C core to parse the setting
for us if provided by firmware.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c
include/linux/i2c.h