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

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

Merge "sound: usb: Fix error handling path"

parents 53a77a29 b52f798c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1159,7 +1159,7 @@ static void handle_uaudio_stream_req(struct qmi_handle *handle,
	mutex_unlock(&chip->dev_lock);

response:
	if (!req_msg->enable && (ret != -EINVAL || ret != -ENODEV)) {
	if (!req_msg->enable && ret != -EINVAL && ret != -ENODEV) {
		mutex_lock(&chip->dev_lock);
		if (info_idx >= 0) {
			info = &uadev[pcm_card_num].info[info_idx];