Re: [PATCH ] i2c: omap: recover from Bus Busy condition

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

 



On Monday 24 October 2011 12:40 PM, Rajeev kumar wrote:
On 10/24/2011 12:21 PM, Shubhrajyoti D wrote:
From: Vikram Pandita<vikram.pandita@xxxxxx>

     In case a peripheral is holding the DATA bus low, provide a 400Khz
     constant clock output using the TEST register.

     Also soft reset the I2C controller so that there is no stale state
     left in the HW state machine.

     A WARN_ON() will be generated when a BB timeout happens.

Signed-off-by: Vikram Pandita<vikram.pandita@xxxxxx>
Signed-off-by: Shubhrajyoti D<shubhrajyoti@xxxxxx>
---
  drivers/i2c/busses/i2c-omap.c |   15 +++++++++++++--
  1 files changed, 13 insertions(+), 2 deletions(-)


Reviewed-by: Rajeev Kumar <rajeev-dlh.kumar@xxxxxx>

Thanks for your review.


~Rajeev

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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