i2c: i2c_cdns: Add support for handling arbitration lost
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 7 Mar 2019 10:52:49 +0000 (11:52 +0100)
committerHeiko Schocher <hs@denx.de>
Fri, 8 Mar 2019 04:52:38 +0000 (05:52 +0100)
commitbc00512438e8df139477908b79663d81df594261
tree896447a65da5433b59edbc098e2b6be15086c4a7
parent006265d063789ffbf58c51213f1a27462875931c
i2c: i2c_cdns: Add support for handling arbitration lost

This patch adds support for handling arbitration lost
in case of multi master mode. When an arbitration lost
is detected, it retries for 10 times before failing.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-cdns.c