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

Commit 383c57ee authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: f_gps: Fix incorrect response available notifications"

parents f0637907 a48d831b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -297,6 +297,12 @@ static void gps_resume(struct usb_function *f)
		return;

	dev->is_suspended = false;
	spin_lock(&dev->lock);
	if (list_empty(&dev->cpkt_resp_q)) {
		spin_unlock(&dev->lock);
		return;
	}
	spin_unlock(&dev->lock);
	gps_ctrl_response_available(dev);
}