Loading drivers/usb/gadget/function/f_gsi.c +2 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,8 @@ static inline bool usb_gsi_remote_wakeup_allowed(struct usb_function *f) struct f_gsi *gsi = func_to_gsi(f); if (f->config->cdev->gadget->speed >= USB_SPEED_SUPER) remote_wakeup_allowed = gsi->func_wakeup_allowed; remote_wakeup_allowed = gsi->func_is_suspended ? gsi->func_wakeup_allowed : false; else remote_wakeup_allowed = usb_get_remote_wakeup_status(f->config->cdev->gadget); Loading Loading
drivers/usb/gadget/function/f_gsi.c +2 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,8 @@ static inline bool usb_gsi_remote_wakeup_allowed(struct usb_function *f) struct f_gsi *gsi = func_to_gsi(f); if (f->config->cdev->gadget->speed >= USB_SPEED_SUPER) remote_wakeup_allowed = gsi->func_wakeup_allowed; remote_wakeup_allowed = gsi->func_is_suspended ? gsi->func_wakeup_allowed : false; else remote_wakeup_allowed = usb_get_remote_wakeup_status(f->config->cdev->gadget); Loading