i2c: i2c-cdns: Prevent early termination of write
authorSai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Tue, 1 Mar 2022 08:16:52 +0000 (09:16 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 9 Mar 2022 11:36:37 +0000 (12:36 +0100)
commitf76f86029d75df2546e734e3ae1a50fa62d72526
tree775fe9b3f48ca3e242969c0a80915640a2059af6
parent94b3f3fc7d5eece585a688061fa7a32a1a1c8495
i2c: i2c-cdns: Prevent early termination of write

During sequential loading of data, hold the bus to prevent controller
from sending stop signal in case no data is available in fifo.

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Reviewed-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/2407b39d305999cb42438c5423aebc3b514acabb.1646122610.git.michal.simek@xilinx.com
drivers/i2c/i2c-cdns.c