Re: [PATCH net-next] r8169: use pm_runtime_put_sync in rtl_open error path

2020-10-31 Thread Jakub Kicinski
On Thu, 29 Oct 2020 19:02:53 +0100 Heiner Kallweit wrote: > 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 Applied, thanks!

[PATCH net-next] r8169: use pm_runtime_put_sync in rtl_open error path

2020-10-29 Thread Heiner Kallweit
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 --- drivers/net/ethernet/realtek/r8169_main.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/e