roles: Fix USB 3.0 OTG issue on Intel platform
Greg Kroah-Hartman
maintainerPATCH v6 1/1 roles: Fix USB 3.0 OTG issue on Intel platform
Quoted 17 lines · Felipe Balbi
Hi Greg,
Quoted 12 lines · Saranya
Quoted 12 lines
Review
Quoted 1 line
(quoted diff) +0
-0
b/drivers/usb/roles/intel-xhci-usb-role-switch.cdrivers/usb/roles/intel-xhci-usb-role-switch.c line 28
Quoted 8 lines
index dad2d19..0d1ea82 100644
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?
Quoted 7 lines
they are sorted in descending order.
/* register definition */
#defineDUAL_ROLE_CFG00x68
#defineSW_VBUS_VALIDBIT(24)
#defineSW_IDPIN_ENBIT(21)
#defineSW_IDPINBIT(20)
Ugh, you are right, that's what I get for trying to review code before my coffee has kicked in...
Sorry about that.
greg k-h