]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Fix musb_core parameter passing to cppi start
authorDirk Behme <dirk.behme@googlemail.com>
Mon, 8 Oct 2007 18:35:14 +0000 (20:35 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 9 Oct 2007 22:25:39 +0000 (15:25 -0700)
commit2110060d27c064172bb9d98a402e2b25957af744
treeea95354c019f65ca0402823dc03e0750ddb3c4ef
parent4714061a997df6cb6e65a384562397709043e1d2
ARM: OMAP: Fix musb_core parameter passing to cppi start

cppi_controller_start() expects a struct dma_controller as parameter
and not dma_controller private_data. Current implementation crashes
with e.g.

Internal error: Oops: 805 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.23-rc4-davinci1 #2)
PC is at cppi_controller_start+0x18/0x140
LR is at musb_probe+0x1f4/0x824

Fix this. Initial proposal for fix by David Brownell. Thanks!

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/musb_core.c