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

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

Merge "diag: Don't queue buffer to usb on ESHUTDOWN error"

parents c2775aff f272c04c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -290,7 +290,7 @@ static void usb_read_work_fn(struct work_struct *work)
			pr_debug("diag: In %s, error in reading from USB %s, err: %d\n",
				 __func__, ch->name, err);
			atomic_set(&ch->read_pending, 0);
			if (err != -EIO)
			if (err != -EIO && err != -ESHUTDOWN)
				queue_work(ch->usb_wq, &(ch->read_work));
		}
	} else {