]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: chipidea: Fix otg event handler
authorLoic Poulain <loic.poulain@linaro.org>
Tue, 4 Sep 2018 15:18:58 +0000 (17:18 +0200)
committerPeter Chen <peter.chen@nxp.com>
Thu, 20 Sep 2018 09:04:22 +0000 (17:04 +0800)
commit59739131e0ca06db7560f9073fff2fb83f6bc2a5
tree74e4108219616ba253ce9bae9181782cb4be560d
parent8b97d73c4d72a2abf58f8e49062a7ee1e5f1334e
usb: chipidea: Fix otg event handler

At OTG work running time, it's possible that several events need to be
addressed (e.g. ID and VBUS events). The current implementation handles
only one event at a time which leads to ignoring the other one. Fix it.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/otg.c