usb: musb: fix resource passed from glue layer to musb
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Jul 2013 07:51:22 +0000 (10:51 +0300)
committerFelipe Balbi <balbi@ti.com>
Wed, 17 Jul 2013 07:51:22 +0000 (10:51 +0300)
commitc1f01be4060b6f1932e428c209a6c14d6b22fc1c
treef9e48d951bcb55807396414fefa65a8054279680
parent690c70bab1ebab0782cf9c316b726e2dddebc411
usb: musb: fix resource passed from glue layer to musb

some MUSB incarnations, such as those governed by
omap2430.c and tusb6010.c, have three resources, not
two.

Fix the bug created by commit 09fc7d2 (usb: musb:
fix incorrect usage of resource pointer) where only
two of the three resources would be passed to musb_core.c

[ balbi@ti.com : add tusb6010.c to original patch ]

Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c
drivers/usb/musb/tusb6010.c