OSDN Git Service

usb: gadget: udc: lpc32xx: properly setup phy interrupts
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Apr 2019 12:09:06 +0000 (14:09 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 3 May 2019 06:13:48 +0000 (09:13 +0300)
commitf584fa8c1fdc289f23f4948bd58f4e2281fb5ad5
tree7ad75dfb6225809be5bcb6919077a02e59ccbc5f
parent59a9901ec7ef320a82cd6d8983937aed739c9e94
usb: gadget: udc: lpc32xx: properly setup phy interrupts

Only INT_VBUS_VLD is set to generate ATX interrupts on the phy but
INT_SESS_VLD is checked in vbus_work. This leads to cases where
hot-plugging USB doesn't work after boot.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/lpc32xx_udc.c