From 04a30d517b96649eac964d123959bdfc4e065b02 Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Wed, 5 Feb 2020 17:56:09 -0800 Subject: [PATCH] soc: qcom: ipcc: Do not reset the device during probe There are potential scenarios where the IPCC interrupts would have been raised (and pending) during the bootloader stage. As a result, the driver shouldn't be performing a reset as it would clear all the pending interrupts. Hence, do not perform an explicit reset in the driver's probe. Change-Id: I1d45b20d539524900516532d968172d6b2c10b27 Signed-off-by: Raghavendra Rao Ananta --- drivers/soc/qcom/qcom_ipcc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/soc/qcom/qcom_ipcc.c b/drivers/soc/qcom/qcom_ipcc.c index a9f6a46efbcd..8582f0420057 100644 --- a/drivers/soc/qcom/qcom_ipcc.c +++ b/drivers/soc/qcom/qcom_ipcc.c @@ -1,6 +1,6 @@ // 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. */ #include @@ -338,9 +338,6 @@ static int qcom_ipcc_probe(struct platform_device *pdev) return proto_data->irq; } - /* Perform a SW reset on this client's protocol state */ - writel_relaxed(0x1, proto_data->base + IPCC_REG_CLIENT_CLEAR); - proto_data->irq_domain = irq_domain_add_tree(pdev->dev.of_node, &qcom_ipcc_irq_ops, proto_data);