summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_debug.h
diff options
context:
space:
mode:
authorShubhrajyoti D <shubhrajyoti@ti.com>2012-03-22 08:18:06 +0100
committerFelipe Balbi <balbi@ti.com>2012-04-10 18:11:50 +0200
commitad579699c4f0274bf522a9252ff9b20c72197e48 (patch)
tree4c4a94e054bc146d3bbcd17c73ba0deeb0ee7231 /drivers/usb/musb/musb_debug.h
parentusb: gadget: udc-core: fix asymmetric calls in remove_driver (diff)
downloadlinux-ad579699c4f0274bf522a9252ff9b20c72197e48.tar.xz
linux-ad579699c4f0274bf522a9252ff9b20c72197e48.zip
usb: musb: omap: fix the error check for pm_runtime_get_sync
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: stable@vger.kernel.org Cc: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_debug.h')
0 files changed, 0 insertions, 0 deletions