linux-uconsole/drivers/usb/musb
Shubhrajyoti D 04b09f662d usb: musb: omap: fix the error check for pm_runtime_get_sync
commit ad579699c4 upstream.

pm_runtime_get_sync returns a signed integer. In case of errors
it returns a negative value. This patch fixes the error check
by making it signed instead of unsigned thus preventing register
access if get_sync_fails. Also passes the error cause to the
debug message.

Cc:  Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-27 09:51:08 -07:00
..
am35x.c
blackfin.c
blackfin.h
cppi_dma.c usb: musb: cppi: fix build errors due to DBG and missing musb variable 2011-10-03 11:39:51 -07:00
cppi_dma.h
da8xx.c
davinci.c
davinci.h
Kconfig
Makefile
musb_core.c usb: musb: fix pm_runtime mismatch 2012-01-12 11:35:16 -08:00
musb_core.h
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_gadget.c usb: musb: Reselect index reg in interrupt context 2012-04-02 09:26:52 -07:00
musb_gadget.h
musb_gadget_ep0.c
musb_host.c usb: musb: host: compare status for negative error values 2011-06-09 12:01:03 +03:00
musb_host.h
musb_io.h
musb_regs.h
musb_virthub.c
musbhsdma.c
musbhsdma.h
omap2430.c usb: musb: omap: fix the error check for pm_runtime_get_sync 2012-04-27 09:51:08 -07:00
omap2430.h
tusb6010.c
tusb6010.h
tusb6010_omap.c
ux500.c
ux500_dma.c