diff options
author | Shubhrajyoti D <[email protected]> | 2012-03-22 12:48:06 +0530 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2012-04-10 19:11:50 +0300 |
commit | ad579699c4f0274bf522a9252ff9b20c72197e48 (patch) | |
tree | 4c4a94e054bc146d3bbcd17c73ba0deeb0ee7231 /lib/mpi/mpi-inline.c | |
parent | 8ae8090c82eb407267001f75b3d256b3bd4ae691 (diff) |
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: [email protected]
Cc: Kishon Vijay Abraham I <[email protected]>
Signed-off-by: Shubhrajyoti D <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions