summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-20 14:04:32 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-20 14:04:32 -0800
commit8c1b054af9b69d6da8410ca308baaa2cc088df1f (patch)
treeae76490bf3aa404fb749db6ce882511ebfbf3bbe
parent2685dd10874f75bf2f6728a7d07feb292db2e935 (diff)
parent9ed86b4e6c438e2205f41ccc5691cd026130936d (diff)
Merge "sound: usb: auto suspend device only if it supports remote wakeup"
-rw-r--r--sound/usb/card.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/card.c b/sound/usb/card.c
index 1f6c247f773a..76720b2a1f0e 100644
--- a/sound/usb/card.c
+++ b/sound/usb/card.c
@@ -643,6 +643,7 @@ static int usb_audio_probe(struct usb_interface *intf,
usb_chip[chip->index] = chip;
chip->num_interfaces++;
usb_set_intfdata(intf, chip);
+ intf->needs_remote_wakeup = 1;
usb_enable_autosuspend(chip->dev);
atomic_dec(&chip->active);
mutex_unlock(&register_mutex);