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

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

Merge "msm: camera: reset atomic variable"

parents 3475945d 053d5e94
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -231,6 +231,8 @@ static inline void msm_pm_qos_add_request(void)
static void msm_pm_qos_remove_request(void)
{
	pr_info("%s: remove request", __func__);
	if (!atomic_cmpxchg(&qos_add_request_done, 1, 0))
		return;
	pm_qos_remove_request(&msm_v4l2_pm_qos_request);
}