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 <rananta@codeaurora.org>
This commit is contained in:
Raghavendra Rao Ananta 2020-02-05 17:56:09 -08:00
commit 04a30d517b

View file

@ -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 <linux/module.h>
@ -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);