usb: dwc3: make sure UX_EXIT_PX is cleared
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 3 Aug 2016 11:16:15 +0000 (14:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:17:43 +0000 (09:17 +0100)
commitc582696e096064d43d953fd576712d95fcab6702
treefae887d8bca85d2c52a37f5febec725c9988757a
parent61ed2d27b87fe5b01fa867492e75495b96a41456
usb: dwc3: make sure UX_EXIT_PX is cleared

[ Upstream commit 1966b8657d058ecb95031809b607bf3fd1e01c10 ]

This bit is only supposed to be used with known
buggy PHYs, however some platforms might erroneously
set it. In order to avoid it, let's make sure this
bit is always cleared. If some PHY needs this, we
will need to add a quirk flag.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h