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

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

Merge "msm: vidc: Resume venus after write to cmd queue"

parents af49d71f bc0f28d5
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1574,12 +1574,12 @@ static int __iface_cmdq_write_relaxed(struct venus_hfi_device *device,
	}

	__sim_modify_cmd_packet((u8 *)pkt, device);
	if (!__write_queue(q_info, (u8 *)pkt, requires_interrupt)) {
	if (__resume(device)) {
		dprintk(VIDC_ERR, "%s: Power on failed\n", __func__);
		goto err_q_write;
	}

	if (!__write_queue(q_info, (u8 *)pkt, requires_interrupt)) {
		if (device->res->sw_power_collapsible) {
			cancel_delayed_work(&venus_hfi_pm_work);
			if (!queue_delayed_work(device->venus_pm_workq,