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

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

Merge "msm: npu: Don't wait for SHUTDOWN irq if NPU is not in FPC mode"

parents f2015c3a 4f3d5336
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
 */

/* -------------------------------------------------------------------------
@@ -424,7 +424,7 @@ static int disable_fw_nolock(struct npu_device *npu_dev)
		msleep(500);
	}

	if (!host_ctx->auto_pil_disable) {
	if (!ret && !host_ctx->auto_pil_disable) {
		ret = wait_for_completion_timeout(
			&host_ctx->fw_shutdown_done, NW_RSC_TIMEOUT_MS);
		if (!ret) {