]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: call pm_runtime_put_sync on failure path
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 24 Jun 2020 10:08:17 +0000 (13:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 22:59:23 +0000 (15:59 -0700)
commita42a032965b0e06b17d713ad81a78336541e99a0
tree8105c7b75e1db7477e15930377ac22e75a278d88
parent8aea38e3fafb48318bc86e049082b578142a6086
net: macb: call pm_runtime_put_sync on failure path

Call pm_runtime_put_sync() on failure path of at91ether_open.

Fixes: e042252bef86 ("net: macb: ensure interface is not suspended on at91rm9200")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c