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

Commit 19783054 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 before firmware unload" into msm-4.9

parents 0ddf4eae e43dd822
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1965,6 +1965,8 @@ static int venus_hfi_core_release(void *dev)
	if (device->res->pm_qos_latency_us &&
		pm_qos_request_active(&device->qos))
		pm_qos_remove_request(&device->qos);

	__resume(device);
	__set_state(device, VENUS_STATE_DEINIT);
	__unload_fw(device);

@@ -4054,6 +4056,8 @@ static void __unload_fw(struct venus_hfi_device *device)
	__venus_power_off(device);
	device->resources.fw.cookie = NULL;
	__deinit_resources(device);

	dprintk(VIDC_PROF, "Firmware unloaded successfully\n");
}

static int venus_hfi_get_fw_info(void *dev, struct hal_fw_info *fw_info)