]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: codecs: tas2780: tidyup format check in tas2780_set_fmt()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 16 Dec 2025 06:24:32 +0000 (06:24 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 Dec 2025 12:04:39 +0000 (12:04 +0000)
commitf764645cb85a8b8f58067289cdfed28f6c1cdf49
tree77f89ccbf566fff81b549b4dcf395635fb80ccf6
parent3e43a8c033c3187e0f441ed5570a0fb5dcc9dafb
ASoC: codecs: tas2780: tidyup format check in tas2780_set_fmt()

Current code is using messy code to check format. Let's cleanup
it by using switch().

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