usb: gadget: mv_u3d: fix sparse warnings
authorFelipe Balbi <balbi@ti.com>
Fri, 22 Mar 2013 15:01:42 +0000 (17:01 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 27 Mar 2013 11:19:00 +0000 (13:19 +0200)
commit6fbb2f7daeeeb0865fc9b7799607f4cb5481a96e
treed1d3b8f7aab847d48821beb6090186fee531f83d
parent94a06018dead7fc5f92238ececf31ed601ee528c
usb: gadget: mv_u3d: fix sparse warnings

fix the following sparse warnings:

drivers/usb/gadget/mv_u3d_core.c:223:20: warning: context imbalance in 'mv_u3d_done' - unexpected unlock
drivers/usb/gadget/mv_u3d_core.c:1562:25: warning: context imbalance in 'mv_u3d_handle_setup_packet' - unexpected unlock

Note that the non-trivial sparse warnings
are left out of this commit due to lack of
HW to test:

drivers/usb/gadget/mv_u3d_core.c:906:42: warning: incorrect type in argument 2 (different address spaces)
drivers/usb/gadget/mv_u3d_core.c:906:42:    expected void [noderef] <asn:2>*<noident>
drivers/usb/gadget/mv_u3d_core.c:906:42:    got unsigned int *<noident>

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_u3d_core.c