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>
This commit is contained in:
Yuanyuan Liu 2016-05-06 17:12:04 -07:00 committed by Jeevan Shriram
parent 5bad48c1b8
commit f91d7a5a2b

View file

@ -718,6 +718,8 @@ static int icnss_qmi_event_fw_ready_ind(void *data)
penv->state |= ICNSS_FW_READY; penv->state |= ICNSS_FW_READY;
pr_info("%s: WLAN FW is ready\n", __func__);
if (!penv->pdev) { if (!penv->pdev) {
pr_err("%s: Device is not ready\n", __func__); pr_err("%s: Device is not ready\n", __func__);
ret = -ENODEV; ret = -ENODEV;
@ -726,11 +728,8 @@ static int icnss_qmi_event_fw_ready_ind(void *data)
icnss_adrastea_power_off(); icnss_adrastea_power_off();
if (!penv->ops || !penv->ops->probe) { if (!penv->ops || !penv->ops->probe)
pr_err("%s: WLAN driver is not registed yet\n", __func__);
ret = -ENOENT;
goto out; goto out;
}
ret = penv->ops->probe(&penv->pdev->dev); ret = penv->ops->probe(&penv->pdev->dev);
if (ret < 0) if (ret < 0)
@ -1422,7 +1421,7 @@ static int icnss_probe(struct platform_device *pdev)
goto err_qmi; goto err_qmi;
} }
pr_debug("icnss: Platform driver probed successfully\n"); pr_info("icnss: Platform driver probed successfully\n");
return ret; return ret;