Skip to content
Permalink
Browse files
ALSA: usb-audio: Add prevent wakeup from s3 state trig by Lenovo Thin…
…kCentre TI024Gen3 USB-audio

TI024Gen3 USB-audio is controlled by TI024Gen3,when TI024Gens
enter sleep mode, USB-audio will disconnect from USB bus port,
wakup form s3 state

Signed-off-by: penghao <penghao@uniontech.com>
  • Loading branch information
penghao authored and intel-lab-lkp committed Aug 19, 2020
1 parent d8d0db7 commit b49bfa7145277ea86b0487f7fd4e51566477f092
Showing 1 changed file with 6 additions and 0 deletions.
@@ -658,6 +658,12 @@ static int usb_audio_probe(struct usb_interface *intf,
}

dev_set_drvdata(&dev->dev, chip);
/*
*ALSA: usb-audio: Add prevent wakeup from s3 state trig by Lenovo
*ThinkCentre TI024Gen3 usb-audio
*/
if ((usb_id->idVendor == 0x17ef) && (usb_id->idProduct == 0xa012))
device_set_wakeup_enable(&dev->dev, 0);

/*
* For devices with more than one control interface, we assume the

0 comments on commit b49bfa7

Please sign in to comment.