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

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

Merge "sound: usb: Treat find format failure as error" into msm-4.9

parents 4227213e 4304109d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -577,7 +577,7 @@ int snd_usb_enable_audio_stream(struct snd_usb_substream *subs,
	snd_usb_autoresume(subs->stream->chip);
	fmt = find_format(subs);
	if (!fmt) {
		dev_dbg(&subs->dev->dev,
		dev_err(&subs->dev->dev,
		"cannot set format: format = %#x, rate = %d, channels = %d\n",
			   subs->pcm_format, subs->cur_rate, subs->channels);
		return -EINVAL;