Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: wl1271 + mac80211 suspend/resume questions

$
0
0

Hi Abhijit,

Thanks for your information.
I have configure both GPIO pimux and MMC_PM_KEEP_POWER in kernel, but still got the error message when suspending:
ps: kernel 2.6.37 seems has no mmc pm_flag, so MMC_PM_KEEP_POWER has no effect?

[253.470275] wl1271_sdio :mmc1:0001:2: can't keep power while host is suspended
[253.477966] pm_op(): platform_pm_suspend+0x0/0x5c returns -22
[253.484008] PM: Device mmci-omap-hs.1 failed to suspend
[253.490509] PM: Some devices failed to suspend

The code fail in sdio.c

 /* check whether sdio should keep power */
 if (wl->wow_enabled) {   
     sdio_flags = sdio_get_host_pm_caps(func);
     if (!(sdio_flags & MMC_PM_KEEP_POWER)) 
     {    dev_err(dev, "can't keep power while host"         
          "is suspended\n");   
          ret = -EINVAL;    
         goto out;   }
  /* keep power while host suspended */  
 ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);  
 if (ret) {    
        dev_err(dev, "error while trying to keep power\n");   
 goto out;  
 }
 }

So first please tell me how to disable wowlan (wl->wow_enabled to false)?

Thanks


 


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>