]> 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)
commitc3d36ebc5121fe0867d0726afeb6c8e42ba39be9
tree8105c7b75e1db7477e15930377ac22e75a278d88
parent0748236417b8c2e14d7494f4cea8293167fd724b
net: macb: call pm_runtime_put_sync on failure path

Call pm_runtime_put_sync() on failure path of at91ether_open.

Fixes: 4b863097b118 ("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