diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-10-29 21:02:53 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-01 02:35:59 +0300 |
commit | 1c470b53ece5833193a5b28b6e89cb1531c1de8c (patch) | |
tree | c90b47d5236e2a3e0fed9bb219a673e08e4529f9 /drivers/cpuidle/cpuidle-calxeda.c | |
parent | 3a689e34973e8717cd57991c6fcf527dc56062b5 (diff) | |
download | linux-1c470b53ece5833193a5b28b6e89cb1531c1de8c.tar.xz |
r8169: use pm_runtime_put_sync in rtl_open error path
We can safely runtime-suspend the chip if rtl_open() fails. Therefore
switch the error path to use pm_runtime_put_sync() as well.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/aa093b1e-f295-5700-1cb7-954b54dd8f17@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/cpuidle/cpuidle-calxeda.c')
0 files changed, 0 insertions, 0 deletions