mirror of
https://github.com/torvalds/linux.git
synced 2026-10-17 06:20:02 +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:
|
||
|---|---|---|
| .. | ||
| wl12xx | ||
| wl18xx | ||
| wl1251 | ||
| wlcore | ||
| Kconfig | ||
| Makefile | ||