Re: Usb midi device does not work on wake

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 31, 2020 at 05:24:27PM +0000, Richard Dodd wrote:
> >From 7d991df69d2c47ac41f4657109cee514eef68728 Mon Sep 17 00:00:00 2001
> From: Richard Dodd <richard.o.dodd@xxxxxxxxx>
> Date: Thu, 30 Jan 2020 16:53:51 +0000
> Subject: [PATCH] USB: Fix novation SourceControl XL after suspend
> 
> Currently, the SourceControl will stay in power-down mode after resuming
> from suspend. This patch resets the device after suspend to power it up.
> 
> Signed-off-by: Richard Dodd <richard.o.dodd@xxxxxxxxx>
> ---
>  drivers/usb/core/quirks.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
> index 6b6413073584..3db6c05aaa4b 100644
> --- a/drivers/usb/core/quirks.c
> +++ b/drivers/usb/core/quirks.c
> @@ -445,6 +445,9 @@ static const struct usb_device_id usb_quirk_list[] = {
>   /* INTEL VALUE SSD */
>   { USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
> 
> + /* novation SoundControl XL */
> + { USB_DEVICE(0x1235, 0x0061), .driver_info = USB_QUIRK_RESET_RESUME },
> +
>   { }  /* terminating entry must be last */
>  };
> 

Whitespace is all corrupted, tabs are turned into spaces :(

Can you just use git send-email?  Don't use a web email client, they do
not work.

thanks,

greg k-h



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux