Re: [PATCH] Bugfixes for i2c-cpm.c

Wolfram Sang
2008-06-27T08:40:27Z

[-- Attachment #1.1: Type: text/plain, Size: 666 bytes --]

Hi Jochen,

On Fri, Jun 27, 2008 at 10:22:26AM +0200, Jochen Friedrich wrote:

> What kind of problems have this been? In normal operation there shouldn't be
> any I2CER_TXE interrupts being generated.
I had problems when writing to an EEPROM, reading worked, though.

I didn't really investigate why this happened. I just saw that the old
version used a hardcoded 0x13 to set interrupts and the replacement
using defined constants resulted in 0x7. Changing constants to achieve
0x13 solved my problems.

All the best,

Wolfram

--
Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]