#12657 NORM 13.2.0: Fix btmrvl/mwifiex suspend interactions

Zarro Boogs per Child bugtracker at laptop.org
Mon May 20 16:08:33 EDT 2013


#12657: Fix btmrvl/mwifiex suspend interactions
-------------------------------------+--------------------------------------
           Reporter:  dsd            |       Owner:  pgf          
               Type:  defect         |      Status:  new          
           Priority:  normal         |   Milestone:  13.2.0       
          Component:  kernel         |     Version:  not specified
         Resolution:                 |    Keywords:               
        Next_action:  test in build  |    Verified:  0            
Deployment_affected:                 |   Blockedby:               
           Blocking:                 |  
-------------------------------------+--------------------------------------

Comment(by cjb):

 It looks like you might be hitting this problem, since it exactly
 describes your symptom:

 {{{
                if (err == -ENOSYS || !host->bus_ops->resume) {
                         /*
                          * We simply "remove" the card in this case.
                          * It will be redetected on resume.  (Calling
                          * bus_ops->remove() with a claimed host can
                          * deadlock.)
                          */
                         if (host->bus_ops->remove)
                                 host->bus_ops->remove(host);
                         mmc_claim_host(host);
                         mmc_detach_bus(host);
                         mmc_power_off(host);
                         mmc_release_host(host);
 }}}

 .. yet the comment suggests that your use ought to be safe from deadlock,
 so perhaps the core code itself is buggy.

-- 
Ticket URL: <http://dev.laptop.org/ticket/12657#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list