diff options
author | 2020-04-27 13:51:20 +0300 | |
---|---|---|
committer | 2020-04-30 20:27:48 -0700 | |
commit | 0ce205d4660c312cdeb4a81066616dcc6f3799c4 (patch) | |
tree | c609b09b68e2fe3ec7e492bdb969a1a6a68810a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: moxa: Fix a potential double 'free_irq()' (diff) | |
download | linux-dev-0ce205d4660c312cdeb4a81066616dcc6f3799c4.tar.xz linux-dev-0ce205d4660c312cdeb4a81066616dcc6f3799c4.zip |
net: macb: Fix runtime PM refcounting
The commit e6a41c23df0d, while trying to fix an issue,
("net: macb: ensure interface is not suspended on at91rm9200")
introduced a refcounting regression, because in error case refcounter
must be balanced. Fix it by calling pm_runtime_put_noidle() in error case.
While here, fix the same mistake in other couple of places.
Fixes: e6a41c23df0d ("net: macb: ensure interface is not suspended on at91rm9200")
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions