]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
i2c: recovery: add get_bus_free callback
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 10 Jul 2018 22:24:22 +0000 (00:24 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 17 Jul 2018 08:46:51 +0000 (10:46 +0200)
commit7ca5f6be7900ca753ed01c0202dc5f998a41f4ee
tree3648c63c59b230dfcd24f7fef705e77cf90ef39f
parent0b71026c69caa10261218528326721828d29a481
i2c: recovery: add get_bus_free callback

Some IP cores have an internal 'bus free' logic which may be more
advanced than just checking if SDA is high. Add a separate callback to
get this status. Filling it is optional.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c
include/linux/i2c.h