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

Commit 8843c490 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: Reset Venus firmware cookie during failure"

parents 8d3c7218 869fad7e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4350,6 +4350,7 @@ static int __load_fw(struct venus_hfi_device *device)

		if (IS_ERR_OR_NULL(device->resources.fw.cookie)) {
			dprintk(VIDC_ERR, "Failed to download firmware\n");
			device->resources.fw.cookie = NULL;
			rc = -ENOMEM;
			goto fail_load_fw;
		}