]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: davinci: Avoid zero value of CLKH
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>
Fri, 13 Jul 2018 15:20:17 +0000 (17:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 23 Jul 2018 18:04:35 +0000 (20:04 +0200)
commit9544fc907e0af7ef8fc89738c85effbfd75e053a
tree6a044d0fa318471d034ee0fc011fa1b745290c53
parentf3138ce0ec44ccd7d96f55387002e19cfd8d39de
i2c: davinci: Avoid zero value of CLKH

If CLKH is set to 0 I2C clock is not generated at all, so avoid this value
and stretch the clock in this case.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-davinci.c