Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 186ecebe authored by NeilBrown's avatar NeilBrown Committed by Kishon Vijay Abraham I
Browse files

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: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 56301df6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment