• Patrick Mochel's avatar
    [power] Fix device suspend handling · add74a2b
    Patrick Mochel authored
    - Handle -EAGAIN in device_suspend() properly: keep going, with error reset
      to 0. 
    
    - Call dpm_resume() if we got a real error, instead of device_resume(), which
      would deadlock.
    add74a2b
resume.c 1.81 KB