[PATCH 2.6] Fix i2c-algo-bit for adapers that cannot read SCL back

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

 



On Sat, Nov 15, 2003 at 03:43:51PM +0100, Jean Delvare wrote:
> 
> Hi Greg,
> 
> Here follows a patch to i2c-algo-bit.c as found in linux-2.6.0-test9,
> with two fixes for adapters that cannot read SCL back. Althouth real
> adapters should be able to read SCL back, there are some that
> cannot, for example the ADM1032 evaluation board I am using. Such
> adapters where supposed to be already supported, but I found a probable
> bug and improved support.
> 
> These changes were applied to our i2c CVS repository two weeks ago and
> have been reviewed by Mark D. Studebaker.
> 
> List of changes:
> 
> * Fix sclhi() for adapters that do not have getscl().
> * Enable bit_test for adapters that do not have getscl().
> * Mostly rewrite test_bus(), cleaner and probably faster.

Applied, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux