Re: at24 driver - a possible problem

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

 



On Thu, 5 Nov 2009 18:25:37 +0100, Wolfram Sang wrote:
> Hello Aleksandar,
> 
> thank you for your very detailed and very good bug-report. I need to do some
> tests myself tomorrow, but I think your assumptions are correct. Possibly we
> need a similar loop for the read case. I'll add the linux-i2c-list to cc for
> more opinions.

This makes a lot of sense. When a write operation is in progress, the
EEPROM is busy and may not ack its address. Whether the request is
another write or a read probably doesn't make a difference, a nack is a
nack. So the same waiting loop that we have for writes, is certainly
needed for reads as well. Shouldn't be too difficult. Any volunteer? I
can review the patch when it's done.

-- 
Jean Delvare
--
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