commit | 186ecebeb60d5271c519450d71026901d9741714 | [log] [tgz] |
---|---|---|
author | NeilBrown <neil@brown.name> | Thu Apr 16 18:03:04 2015 +1000 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Mon Jun 01 16:08:24 2015 +0530 |
tree | a54a3e4d44af6b6a87fff530674d5e8ccbc21a95 | |
parent | 56301df6bcaaed31e77b8c500ca1b437f46a3158 [diff] |
phy: twl4030-usb: remove pointless 'suspended' test in 'suspend' callback. When the runtime_suspend callback is running, 'runtime_status' is always RPM_SUSPENDING, so pm_runtime_suspended() will always fail. Similarly while the runtime_resume callback is running 'runtime_status' is RPM_RESUMING, so pm_runtime_active() will always fail. So remove these two pointless tests. Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>