diff options
| author | Yuanyuan Liu <yuanliu@codeaurora.org> | 2016-05-06 17:12:04 -0700 |
|---|---|---|
| committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-10 13:20:18 -0700 |
| commit | f91d7a5a2bc707296ea15e4e459dcfb3e8a49e93 (patch) | |
| tree | 35f72b356617b6ad525bf88aad68297cb1c4e9e3 | |
| parent | 5bad48c1b8d2a7170604204bae6f0a259b4071ae (diff) | |
icnss: Update icnss logs
Enable important kernel logs which are essential for cold boot debug.
Remove unnecessary log for normal behavior.
CRs-Fixed: 1013082
Change-Id: I5234f0511fa1c81072e740386e90e07f5e813dd0
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
| -rw-r--r-- | drivers/soc/qcom/icnss.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/soc/qcom/icnss.c b/drivers/soc/qcom/icnss.c index a64fdac00ff4..75a5327b28a5 100644 --- a/drivers/soc/qcom/icnss.c +++ b/drivers/soc/qcom/icnss.c @@ -718,6 +718,8 @@ static int icnss_qmi_event_fw_ready_ind(void *data) penv->state |= ICNSS_FW_READY; + pr_info("%s: WLAN FW is ready\n", __func__); + if (!penv->pdev) { pr_err("%s: Device is not ready\n", __func__); ret = -ENODEV; @@ -726,11 +728,8 @@ static int icnss_qmi_event_fw_ready_ind(void *data) icnss_adrastea_power_off(); - if (!penv->ops || !penv->ops->probe) { - pr_err("%s: WLAN driver is not registed yet\n", __func__); - ret = -ENOENT; + if (!penv->ops || !penv->ops->probe) goto out; - } ret = penv->ops->probe(&penv->pdev->dev); if (ret < 0) @@ -1422,7 +1421,7 @@ static int icnss_probe(struct platform_device *pdev) goto err_qmi; } - pr_debug("icnss: Platform driver probed successfully\n"); + pr_info("icnss: Platform driver probed successfully\n"); return ret; |
