aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/traps_32.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-08-27 05:33:56 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-09-05 01:54:13 -0400
commit4eb00c9f92202a759aadbce73ea4a947b639b5e6 (patch)
treeb1c94bcc53924b6a90c3ed82ea645bfa482c923f /arch/sh/kernel/traps_32.c
parentdbce1f649e3d22aa7ddc0fdbfa6a7470047b61bd (diff)
i2c: fix i2c-sh_mobile timing issues
This patch teaches the i2c-sh_mobile driver to make use of wait irqs. Without this patch only dte irqs are used which may lead to overruns and cases of missing stop and extra bytes being read on the i2c bus. Use of wait irqs forces the hardware to pause and wait until the cpu is ready. Polling is also reworked in this patch to fix ms delay issues. Verified with bus analyzer and tested on MigoR and AP325RXA boards. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/traps_32.c')
0 files changed, 0 insertions, 0 deletions