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

Commit a3db6d34 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sound: usb: Don't bail out if qmi_send_indication fails"

parents e64e0bd6 3ecc1a5c
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -887,10 +887,8 @@ static void uaudio_disconnect_cb(struct snd_usb_audio *chip)
				QMI_UAUDIO_STREAM_IND_MSG_V01_MAX_MSG_LEN,
				qmi_uaudio_stream_ind_msg_v01_ei,
				&disconnect_ind);
		if (ret < 0) {
			uaudio_err("qmi send failed wiht err: %d\n", ret);
			return;
		}
		if (ret < 0)
			uaudio_err("qmi send failed with err: %d\n", ret);

		ret = wait_event_interruptible(dev->disconnect_wq,
				!atomic_read(&dev->in_use));