summaryrefslogtreecommitdiff
path: root/drivers/block/null_blk_main.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-10-29 21:02:53 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-01 02:35:59 +0300
commit1c470b53ece5833193a5b28b6e89cb1531c1de8c (patch)
treec90b47d5236e2a3e0fed9bb219a673e08e4529f9 /drivers/block/null_blk_main.c
parent3a689e34973e8717cd57991c6fcf527dc56062b5 (diff)
downloadlinux-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/block/null_blk_main.c')
0 files changed, 0 insertions, 0 deletions