diff options
| author | Yuanyuan Liu <yuanliu@codeaurora.org> | 2017-01-31 11:07:27 -0800 |
|---|---|---|
| committer | Yuanyuan Liu <yuanliu@codeaurora.org> | 2017-01-31 11:13:06 -0800 |
| commit | 9dc3bd22129424a89e9fc95d93be11fc8a2965eb (patch) | |
| tree | de538526d307c8c295824a3a09b15d1b4650e9aa | |
| parent | 42e1251b38729f7d0ec276e8a195db1d3ed22d41 (diff) | |
icnss: Enable FW rejuvenate feature by default
Enable FW rejuvenate feature so that WLAN FW
can rejuvenate by default without changing the
configuration from debugfs.
CRs-Fixed: 2000561
Change-Id: Ic9b0524311c08bf3b99f43881054c23967734e5c
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
| -rw-r--r-- | drivers/soc/qcom/icnss.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/soc/qcom/icnss.c b/drivers/soc/qcom/icnss.c index 873416944b19..14a792c3742b 100644 --- a/drivers/soc/qcom/icnss.c +++ b/drivers/soc/qcom/icnss.c @@ -146,7 +146,8 @@ enum icnss_debug_quirks { FW_REJUVENATE_ENABLE, }; -#define ICNSS_QUIRKS_DEFAULT BIT(VBATT_DISABLE) +#define ICNSS_QUIRKS_DEFAULT (BIT(VBATT_DISABLE) | \ + BIT(FW_REJUVENATE_ENABLE)) unsigned long quirks = ICNSS_QUIRKS_DEFAULT; module_param(quirks, ulong, 0600); @@ -1469,7 +1470,7 @@ static int wlfw_dynamic_feature_mask_send_sync_msg(struct icnss_priv *priv, if (!test_bit(FW_REJUVENATE_ENABLE, &quirks)) { icnss_pr_dbg("FW rejuvenate is disabled from quirks\n"); - dynamic_feature_mask &= ~QMI_WLFW_FW_REJUVENATE_V01; + return 0; } icnss_pr_dbg("Sending dynamic feature mask request, val 0x%llx, state: 0x%lx\n", |
