Skip to contentSkip to conversation

roles: Fix USB 3.0 OTG issue on Intel platform

PATCH Superseded Greg Kroah-Hartman 1 participant 1 message Sep 7, 2018 USB

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH v6 1/1 roles: Fix USB 3.0 OTG issue on Intel platform

Quoted 26 lines · On Fri, Sep 07, 2018 at 12:32:01PM +0530, [email protected] wrote:

From: Saranya Gopal <[email protected]>

This patch adds static DRD mode for host/device
mode switch. This fixes the issue where device
mode was not working after DUT switches to host
mode with 3.0 OTG connector.

---
changes since V5: Corrected the name format in From and Signed-off-by changes since V4: Removed change-Id
changes since V3: Added Reviewed-by Sathyanarayanan tag
changes since V2: Incorporated Heikki's review comments and added Reviewed-by Heikki tag changes since V1: none

 drivers/usb/roles/intel-xhci-usb-role-switch.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
drivers/usb/roles/intel-xhci-usb-role-switch.c +0 -0
index dad2d19..0d1ea82 100644

drivers/usb/roles/intel-xhci-usb-role-switch.c line 28

Quoted 4 lines
drivers/usb/roles/intel-xhci-usb-role-switch.c +1 -0
@@ -25,6 +25,9 @@
 #define SW_VBUS_VALID			BIT(24)
 #define SW_IDPIN_EN			BIT(21)
 #define SW_IDPIN			BIT(20)
+#define SW_SWITCH_EN_CFG0		BIT(16)

Why is this not in the correct sorted order with the items above it?

Is this a patch that should go to the stable trees? If so, which ones?

thanks,

greg k-h