[power] Fix device suspend handling
- 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.
Showing
Please register or sign in to comment