]> exis.tech > repos - linux.git/commit
ASoC: codecs: pcm3168a: update auto select format
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 9 Jun 2026 00:23:22 +0000 (00:23 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jun 2026 17:57:56 +0000 (18:57 +0100)
commit06449c0c47b190d75ac0185cdc5e827d8deee13e
treef6239e669871208c35221376ee8b84d50d35c157
parent23ad6257cea2d64c37da6d6973ccd7981bf566e9
ASoC: codecs: pcm3168a: update auto select format

Current auto select format start with the highest priority format and
gradually add lower priority formats one by one, and search matched
format. Like A+X -> A+B+X -> A+B+C+X+Y... (a)

But in this method, we can't handle format if HW has some kind of
patterns, like A+X or B+Y etc (b).

Current drivers are using (a) style, this patch switch to use (b) style.
This is needed before update auto select format method.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87mrx436kl.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm3168a.c