]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: i2c-omap: Fix support for OMAP15xx
authorLadislav Michl <ladis@linux-mips.org>
Tue, 7 Feb 2006 03:47:38 +0000 (19:47 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 7 Feb 2006 03:47:38 +0000 (19:47 -0800)
commiteba8b594c175627e069774a5ae58701c1c169352
treef2eec3d0ec986c89c80db7ae7f88581696d890fb
parentc9089b85d2bc8894fe6e465886ad0f427ef46d82
[PATCH] ARM: OMAP: i2c-omap: Fix support for OMAP15xx

Current implementation of omap_i2c_isr doesn't work on OMAP5910 (Too
much work in one IRQ). Interrupt service routine is broken in these
aspects:
* it tries to ack interrupt by writing to read-only status register.
* it doesn't ackowledge interrupt properly by reading interrupt vector
  register.
I'm assuming that driver works correctly on other OMAPs (right? ;-)), so
proposed patch adds interrupt service routine for 15xx cpus and deletes
rev1 stuff from omap_i2c_isr. Tested on OMAP5910 with DS1339 clock on
I2C bus.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/busses/i2c-omap.c