mirror of
https://github.com/torvalds/linux.git
synced 2026-10-17 14:30:03 +02:00
pm_runtime_get_sync() keeps the runtime PM usage counter elevated even
when it returns an error, so the reference taken at the beginning of
wlcore_remove() has to be dropped on every exit path. When the device
was not initialized the function returned early without doing so,
leaking the reference.
Release it with pm_runtime_put_noidle() as done on the other early error
paths of this driver.
Fixes:
|
||
|---|---|---|
| .. | ||
| acx.c | ||
| acx.h | ||
| boot.c | ||
| boot.h | ||
| cmd.c | ||
| cmd.h | ||
| conf.h | ||
| debug.h | ||
| debugfs.c | ||
| debugfs.h | ||
| event.c | ||
| event.h | ||
| hw_ops.h | ||
| ini.h | ||
| init.c | ||
| init.h | ||
| io.c | ||
| io.h | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| ps.c | ||
| ps.h | ||
| rx.c | ||
| rx.h | ||
| scan.c | ||
| scan.h | ||
| sdio.c | ||
| spi.c | ||
| sysfs.c | ||
| sysfs.h | ||
| testmode.c | ||
| testmode.h | ||
| tx.c | ||
| tx.h | ||
| vendor_cmd.c | ||
| vendor_cmd.h | ||
| wl12xx_80211.h | ||
| wlcore_i.h | ||
| wlcore.h | ||