usb: gadget: pch_udc: Reduce redundant interrupt
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Thu, 12 Jan 2012 02:27:09 +0000 (11:27 +0900)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Jan 2012 09:35:25 +0000 (11:35 +0200)
commit833310402c54ad9b676b465fc53ad276b13d36be
tree41b203194cc58686e12b9cd882448463f4727bfd
parent1c575d2d2e3ff2a7cb3c2e2165064199cfd8ad32
usb: gadget: pch_udc: Reduce redundant interrupt

ISSUE:
USB Suspend interrupts occur frequently.

CAUSE:
When it is called pch_udc_reconnect() in USB Suspend, it repeats reset and
Suspend.

SOLUTION:
pch_udc_reconnect() does not enable all interrupts.  When an enumeration event
occurred the driver enables all interrupts.

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/pch_udc.c