[PATCH 0/2] i2c: rcar: use iopoll helpers for better timeout handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux