mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
of_clk_get_by_name() returns a reference that must be released with
clk_put(). If the lookup of a later clock fails, the function returns
without releasing the clocks that were already obtained. Put those
clocks before returning.
Fixes:
|
||
|---|---|---|
| .. | ||
| hisi-spmi-controller.c | ||
| Kconfig | ||
| Makefile | ||
| spmi-apple-controller.c | ||
| spmi-devres.c | ||
| spmi-mtk-pmif.c | ||
| spmi-pmic-arb.c | ||
| spmi.c | ||