Re: [PATCH] i2c-au1550: increase timeout waiting for transactions to finish

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

 



On Wed, Jun 15, 2011 at 11:40 PM, Ben Dooks <ben-i2c@xxxxxxxxx> wrote:
> On Sun, Jun 12, 2011 at 02:31:27PM +0200, Manuel Lauss wrote:
>> Wait a bit longer for the I2C master transaction to finish.
>> With this change the WM8731 codec on the DB1300 board is now
>> reliably initialized.
>>
>> Tested on Db1200 and Db1300.
>>
>> Signed-off-by: Manuel Lauss <manuel.lauss@xxxxxxxxxxxxxx>
>
> If no-one else can think of a better fix, then this can go into -rc.
>
> Is there no register that could be read to find out if the system is
> busy?

That's what the function in the patch does: polls for the "master done"
bit to be set.  The timeout around it is just too short for some systems.

Next merge window is fine for this too.  For the current in-tree users this
driver actually works fine.

Manuel Lauss
--
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