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

Commit 35fceebf authored by Vipin Deep Kaur's avatar Vipin Deep Kaur
Browse files

platform: qcom-geni-se: Correct ICB handle to validate properly



This additional check is needed due to split voting added for
DDR and Corex/2x paths.

Change-Id: Ic333831b3f8f49b4fd4e569b1c0bcd762534d8db
Signed-off-by: default avatarVipin Deep Kaur <vkaur@codeaurora.org>
parent 090c2c57
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/clk.h>
@@ -1540,7 +1540,8 @@ void geni_se_dump_dbg_regs(struct se_geni_rsc *rsc, void __iomem *base,
		return;

	geni_se_dev = dev_get_drvdata(rsc->wrapper_dev);
	if (unlikely(!geni_se_dev || !geni_se_dev->bus_bw))
	if (unlikely(!geni_se_dev || !(geni_se_dev->bus_bw ||
					geni_se_dev->bus_bw_noc)))
		return;
	if (unlikely(list_empty(&rsc->ab_list) || list_empty(&rsc->ib_list))) {
		GENI_SE_DBG(ipc, false, NULL, "%s: Clocks not on\n", __func__);