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

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

Merge "msm: cpp: timer used should be set without queue length check"

parents 653890bc c87de12a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1911,9 +1911,8 @@ static int msm_cpp_send_frame_to_hardware(struct cpp_device *cpp_dev,
		queue_len = cpp_dev->processing_q.len;
		spin_unlock_irqrestore(&cpp_timer.data.processed_frame_lock,
			flags);
		if (queue_len == 1) {
		atomic_set(&cpp_timer.used, 1);
		}

		CPP_DBG("Starting timer to fire in %d ms. (jiffies=%lu)\n",
			CPP_CMD_TIMEOUT_MS, jiffies);
		ret = mod_timer(&cpp_timer.cpp_timer,