mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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:
parent
5f3dfa81e9
commit
04a30d517b
1 changed files with 1 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue