diff options
| author | Sandeep Singh <sandsing@codeaurora.org> | 2019-04-09 17:39:47 +0530 |
|---|---|---|
| committer | Sandeep Singh <sandsing@codeaurora.org> | 2019-04-12 10:31:08 +0530 |
| commit | bb31c0f2ef1161aa2489241a035f94316f474f57 (patch) | |
| tree | 8ba8daac6b5e30b4286ddaaab565fa83463746b0 | |
| parent | f5387f19b78def8a33a686c4375f258fdb9e80d9 (diff) | |
icnss: return recovery success to wlan driver
During firmware rejuvenation the platform driver
got the pd_down indication at the same time due to
timeout in getting the ACK for the PDEV_SUSPEND command
host driver issues self recovery. Since the PD_RESTART bit
is set from the rejuvenation, platform driver rejected
the recovery request resulting in the driver bug_on.
Hence, return recovery success to wlan driver when recovery is
already in progress.
Change-Id: I2fb63970a5952c8a50c7eb7f4ab0ca9fcb5657b0
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
| -rw-r--r-- | drivers/soc/qcom/icnss.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/soc/qcom/icnss.c b/drivers/soc/qcom/icnss.c index 830f49eb5ac3..c51006fda59e 100644 --- a/drivers/soc/qcom/icnss.c +++ b/drivers/soc/qcom/icnss.c @@ -3527,7 +3527,6 @@ int icnss_trigger_recovery(struct device *dev) if (test_bit(ICNSS_PD_RESTART, &priv->state)) { icnss_pr_err("PD recovery already in progress: state: 0x%lx\n", priv->state); - ret = -EPERM; goto out; } |
