mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
If byt_wm5102_prepare_and_enable_pll1() fails in the
SND_SOC_DAPM_EVENT_ON() path, platform_clock_control() returns after
clk_prepare_enable(priv->mclk) without disabling the clock again.
This leaks an MCLK enable reference on failed power-up attempts. Add the
missing clk_disable_unprepare() on the error path, matching the unwind
used by the other Intel platform_clock_control() implementations.
Fixes:
|
||
|---|---|---|
| .. | ||
| atom | ||
| avs | ||
| boards | ||
| catpt | ||
| common | ||
| keembay | ||
| Kconfig | ||
| Makefile | ||