]> git.hungrycats.org Git - linux/commit
ASoC: mediatek: mt8192 probe cleanup
authorMark Brown <broonie@kernel.org>
Tue, 2 Jun 2026 15:13:08 +0000 (16:13 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 2 Jun 2026 15:13:08 +0000 (16:13 +0100)
commit44a4b0e62bcbd2c49713fe0f3035b095632ce946
treec30237e631fdaa6ba6e6bde8b0f22de916769d9e
parentba9ea6b3d28225a47e947a67690211c499b94ae3
parente24d5dde56a50946020b134fa8448869093db76a
ASoC: mediatek: mt8192 probe cleanup

Cássio Gabriel <cassiogabrielcontato@gmail.com> says:

Fix two MT8192 AFE probe cleanup issues that mirror the recently fixed
MT8189 and MT8196 paths.

The first patch registers a devm cleanup action for a successful
reserved-memory assignment so later probe failures and driver unbind
release it.

The second patch checks the temporary runtime resume used while
reinitializing the regmap cache and makes the regcache failure path drop
the PM reference and clear pm_runtime_bypass_reg_ctl.

Link: https://patch.msgid.link/20260527-asoc-mt8192-probe-cleanup-v1-0-1bb834d05b72@gmail.com