aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2019-01-16 13:13:02 +0100
committerAnders Roxell <anders.roxell@linaro.org>2019-01-17 15:03:19 +0100
commitd864f8ab0f927c0d93d24331703c49ca132385e4 (patch)
tree03057a27264a8c1fe2abd744c527f7913cd1e209
parentcbeb3db684f72d744e74c567542faac796d9cbd8 (diff)
wireless: wlcore: debug wl12xx_sdio_powe_on|offdbg-next-20190116
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r--drivers/net/wireless/ti/wlcore/sdio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/sdio.c b/drivers/net/wireless/ti/wlcore/sdio.c
index bd10165d7eec..956fa7cec385 100644
--- a/drivers/net/wireless/ti/wlcore/sdio.c
+++ b/drivers/net/wireless/ti/wlcore/sdio.c
@@ -154,6 +154,8 @@ static int wl12xx_sdio_power_on(struct wl12xx_sdio_glue *glue)
struct sdio_func *func = dev_to_sdio_func(glue->dev);
struct mmc_card *card = func->card;
+ printk(KERN_WARNING "in wl12xx_sdio_power_on\n");
+
ret = pm_runtime_get_sync(&card->dev);
if (ret < 0) {
pm_runtime_put_noidle(&card->dev);
@@ -176,6 +178,8 @@ static int wl12xx_sdio_power_off(struct wl12xx_sdio_glue *glue)
struct mmc_card *card = func->card;
int error;
+ printk(KERN_WARNING "in wl12xx_sdio_power_off\n");
+
sdio_claim_host(func);
sdio_disable_func(func);
sdio_release_host(func);