Originally, I noticed that the timeout value for initiating bus recovery was not optimal. While fixing it, I took the chance to convert its handling to the iopoll helpers. And then, I converted the timeout handling for resetting the device, too, while I was at it. Tested on a Renesas Lager board (H2) and Salvator-XS (M3-N). Wolfram Sang (2): i2c: rcar: improve bus busy detection i2c: rcar: refactor and shorten timeout when resetting drivers/i2c/busses/i2c-rcar.c | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) -- 2.20.1