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

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

Merge "msm: npu: Avoid to access NPU registers when power is off"

parents 7603ae66 59e096cc
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -816,10 +816,6 @@ static int host_error_hdlr(struct npu_device *npu_dev, bool force)
	}

	NPU_INFO("npu subsystem is restarting\n");

	/* clear FW_CTRL_STATUS register before restart */
	REGW(npu_dev, REG_NPU_FW_CTRL_STATUS, 0x0);

	reinit_completion(&host_ctx->npu_power_up_done);
	ret = subsystem_restart_dev(host_ctx->subsystem_handle);
	if (ret) {