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

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

Merge "msm: cvp: Avoid racing in cvp power control"

parents 80466204 5aac90f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1423,9 +1423,9 @@ static int iris_hfi_flush_debug_queue(void *dev)
		return -EINVAL;
	}

	cvp_dump_csr(device);
	mutex_lock(&device->lock);

	cvp_dump_csr(device);
	if (!device->power_enabled) {
		dprintk(CVP_WARN, "%s: iris power off\n", __func__);
		rc = -EINVAL;