diff options
author | Benoit Goby <benoit@android.com> | 2010-12-13 15:27:06 -0800 |
---|---|---|
committer | Benoit Goby <benoit@android.com> | 2010-12-13 17:39:09 -0800 |
commit | 1cfb26afa1528c3c148f59aa0f6764d77c02659a (patch) | |
tree | 639a2357e8698edecf36cebfd332a643cc3475eb /drivers/usb | |
parent | b18f3941c749c36cb87df166fb593a27950046cb (diff) |
PM: Wait for completion of the parent resume before resuming
If the parent device is in the DPM_RESUMING state, resume might get called
before the parent's resume has completed, because dpm_wait won't get
called. This issue was introduced by:
3d46a3c PM: Prevent waiting forever on asynchronous resume after abort
Wait for completion of the parent resume if the parent state is >= DPM_OFF
or == DPM_RESUMING
Change-Id: I14a4e16426f61efceaefedc7e772f53b7522b5dd
Signed-off-by: Benoit Goby <benoit@android.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions