usb: musb: Prevent the masking of the return value
authorShubhrajyoti D <shubhrajyoti@ti.com>
Tue, 7 Aug 2012 14:26:31 +0000 (19:56 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 9 Aug 2012 11:38:51 +0000 (14:38 +0300)
commitf69dfa1f01e20387ada601f2bf772061d79e6a8f
tree7abe57a1d9b77e8affc2d8a059cf238b785a9424
parent660fa8863d2623b733d7977a56e2990437abcbdb
usb: musb: Prevent the masking of the return value

Currently the errors returned by fifo_setup get masked
by EINVAL, propagate the same to the caller.

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c