]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: set bias_level at if
authorMark Brown <broonie@kernel.org>
Mon, 14 Jul 2025 10:34:08 +0000 (11:34 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 14 Jul 2025 10:34:08 +0000 (11:34 +0100)
Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:

ASoC has 2 functions to set bias level.

(A) snd_soc_dapm_force_bias_level()
(B) snd_soc_dapm_set_bias_level()

(A) sets dapm->bias_level, but (B) is not.
I think we should set it on both (A) and (B).
I think it is miss or bug, but Samsung is the only vendor that feels a
problem about this.

I think this patch (= [1/5]) is correct approach, but some non-samsung
vendor might get affect from this patch-set, so I added [RFC] on this
patch-set.

Furthermore, (B) cares both Card and Component, (A) cares Component only.
I guess it is the reason why it is called as "force" bias_level function.
(A) is used from each drivers, (B) is used from soc-dapm only.
I'm not 100% sure though, except special cases, each driver should use (B),
I guess ?


Trivial merge