diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-06-04 19:45:32 +0800 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-06-04 19:45:32 +0800 |
commit | 5a5c0904d7eab2f2ce51419fbcd4e63247413d16 (patch) | |
tree | da0807c42b20db8689b902e6378099523484c7f2 /sound/usb/card.c | |
parent | 1aba37fc5314da4ea3c3eb759b9e4c52c4404136 (diff) | |
parent | 16be2ec95a152e65a7522f23a4c9d019325cc41d (diff) |
Merge topic branch 'audio' into integration-linux-ux500
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
Diffstat (limited to 'sound/usb/card.c')
-rw-r--r-- | sound/usb/card.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/usb/card.c b/sound/usb/card.c index 4a7be7b9833..e667491baee 100644 --- a/sound/usb/card.c +++ b/sound/usb/card.c @@ -445,6 +445,7 @@ snd_usb_audio_probe(struct usb_device *dev, struct usb_host_interface *alts; int ifnum; u32 id; + struct usb_device *snd_dev; alts = &intf->altsetting[0]; ifnum = get_iface_desc(alts)->bInterfaceNumber; @@ -527,6 +528,9 @@ snd_usb_audio_probe(struct usb_device *dev, usb_chip[chip->index] = chip; chip->num_interfaces++; chip->probing = 0; + snd_dev = interface_to_usbdev(intf); + usb_enable_autosuspend(snd_dev); + mutex_unlock(®ister_mutex); return chip; |