[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070926174818.7769.qmail@ketl.com>
Date: Wed, 26 Sep 2007 10:48:18 -0700
From: "Chris David" <cd@...isdavid.com>
To: linux-kernel@...r.kernel.org
Subject: Proposed 2.6 Patch for AMD MIPS Alchemy au1550 I2C interface I2C
interface
Hello,
Please CC me on replies.
I have made a trivial patch to fix a problem on the AMD MIPS Alchemy au1550
I2C interface. The PSC (programmable serial controller) seem to 'hang' when
I sent only an 'address' byte on the I2C bus. The patch essentially uses
the PSC_SMBSTAT register's TE (transmit FIFO empty) bit to check when the
transmit FIFO is empty, instead of using the PSC_SMBEVNT register's TU
(transmit underflow) bit. Using the TE bit fixed the hang problem.
I tested this on kernel 2.6.16, and confirmed the patch updates the 2.6.22
kernel correctly. If someone else can test this, that would be great.
Dan Malek is the author of the file in question. I would be more than happy
to provide any additional information about this patch to Dan or anyone
else. Please email me privately.
I am a newbie, but I did read part of the FAQ, and used my best judgement.
Kindly let me know if my communication could be improved. And please CC me
on replies.
Thank you,
-Chris David
View attachment "119_au1550_PSC_SMB_I2C_useTransmitEmpty.patch" of type "text/plain" (725 bytes)
Powered by blists - more mailing lists