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

Commit 713d6838 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: Skip resetting skip_pc_count for SYS_PC_PREP cmd"

parents 94a4b2f1 1599fbf6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4110,6 +4110,8 @@ static inline int __resume(struct venus_hfi_device *device)

	dprintk(VIDC_PROF, "Resumed from power collapse\n");
exit:
	/* Don't reset skip_pc_count for SYS_PC_PREP cmd */
	if (device->last_packet_type != HFI_CMD_SYS_PC_PREP)
		device->skip_pc_count = 0;
	return rc;
err_reset_core: