diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2019-01-16 13:13:02 +0100 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2019-01-23 15:25:43 +0100 |
commit | 9f52df892aa228f3bd6dada189a3fd9528c0ec69 (patch) | |
tree | 2a1db96de74d3f3e63dfce67b51107938f3b9bde | |
parent | 373e4fcbb05097d306418e1b110244ef901ad4c0 (diff) |
wireless: wlcore: debug wl12xx_sdio_powe_on|offulf-hikey-dts-mainline-20190123
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r-- | drivers/net/wireless/ti/wlcore/sdio.c | 4 |
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 4d4b07701149..53efa8e2e10f 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); @@ -181,6 +183,8 @@ static int wl12xx_sdio_power_off(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_off\n"); + sdio_claim_host(func); sdio_disable_func(func); sdio_release_host(func); |