ARM: OMAP: Fix DMA CCR programming for request line > 63, v3
authorAnand Gadiyar <gadiyar@ti.com>
Thu, 15 Jan 2009 11:09:53 +0000 (13:09 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 15 Jan 2009 11:09:53 +0000 (13:09 +0200)
commit4b3cf44846b6424d4119676ad68d54a62b81e31c
treedcf09df49e55541bf115da40155add60b7ed0590
parent3a26e3318bc2ceec340f242c6ee7074becdc7219
ARM: OMAP: Fix DMA CCR programming for request line > 63, v3

Bug in existing code causes synchro control to be set +32 if request
line greater than 63 is used.

Also clean up the function a bit by removing extra parens and
clearing the bits at before write.

Reported by Wenbiao Wang.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c