usb: gadget: mv_udc: disable ISR when stopped
authorNeil Zhang <zhangwm@marvell.com>
Wed, 30 Nov 2011 01:57:14 +0000 (09:57 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:45:23 +0000 (11:45 +0200)
commit309d6d2be42c895c424a5090fcc2e95ce2d8499a
treee306c8d54b7ffe8743d0a67eb04f28587052d587
parent487d54d172b3afd3d2bf124b24eaf7f7e7b8a668
usb: gadget: mv_udc: disable ISR when stopped

When device is stopped, there is no need to handle ISR.
Especially when otg switch to HOST mode.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc.h
drivers/usb/gadget/mv_udc_core.c