]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac81f2e35c1a26392152461c9c58264084f29c70
tree41b203194cc58686e12b9cd882448463f4727bfd
parenta0790200a75cb49840fce8d02105adae24ef9d73
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