Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af79c5a9 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sound: usb: auto suspend device only if it supports remote wakeup" into msm-4.9

parents 20bd5505 a1bd7459
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -697,6 +697,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);