Re: [PATCH] Fix USB Type C hub crash in typec_altmode_update_active

2020-07-26 Thread Zwane Mwaikambo
On Sat, 25 Jul 2020, Zwane Mwaikambo wrote: > diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c > index d0c63afaf..30d0857e4 100644 > --- a/drivers/usb/typec/ucsi/ucsi.c > +++ b/drivers/usb/typec/ucsi/ucsi.c > @@ -218,9 +218,12 @@ void ucsi_altmode_update_active(struct

[PATCH] Fix USB Type C hub crash in typec_altmode_update_active

2020-07-26 Thread Zwane Mwaikambo
The following crash occurs whilst plugging in a Thinkpad USB type C dock and appears to be affecting other users as seen below; https://bbs.archlinux.org/viewtopic.php?id=256404 https://forums.linuxmint.com/viewtopic.php?p=1826251 My specific crash is; [ 565.427757] input: USBPS2 as