commit | 0407eece7ea1d27a3206f90dfbf30873c72cc3da | [log] [tgz] |
---|---|---|
author | Loic Poulain <loic.poulain@linaro.org> | Tue Sep 04 17:18:58 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 20 18:00:19 2019 +0100 |
tree | ac3197c93412c77ca0c350b704181a91f7ef69c3 | |
parent | c4d64f2d93e1f16c3d8efc3d95461f7f6dbdff65 [diff] |
usb: chipidea: Fix otg event handler [ Upstream commit 59739131e0ca06db7560f9073fff2fb83f6bc2a5 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>