Files
linux/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
..
2011-05-18 14:43:12 +03:00
2009-07-12 12:22:34 -07:00
2012-01-12 11:35:16 -08:00
2011-01-10 08:51:44 -08:00
2011-05-18 14:43:12 +03:00