wifi: rtl8723as add sdio_reset
authorwdc <wdc@rock-chips.com>
Mon, 1 Jul 2013 08:03:39 +0000 (16:03 +0800)
committerwdc <wdc@rock-chips.com>
Mon, 1 Jul 2013 08:03:39 +0000 (16:03 +0800)
drivers/mmc/core/core.c

index cc973ce3d993109310631a11d7d2fa6a4fc0bbe3..193ed714012d6720cc3906622d282208b06ddbd0 100755 (executable)
@@ -1690,8 +1690,12 @@ static int mmc_rescan_try_freq(struct mmc_host *host, unsigned freq)
     {
         mmc_go_idle(host);
     }
+#else
+#if defined(CONFIG_RTL8723AS)
+    sdio_reset(host); //make no sense; noteed by xbw at 2011-12-14
 #else
     //sdio_reset(host); //make no sense; noteed by xbw at 2011-12-14
+#endif
        mmc_go_idle(host);
 
        if (!(init_ret=mmc_attach_sdio(host)))