OSDN Git Service

ASoC: codecs: tas5720: split a tas5720_mute_soc_component() function
authorAlexandru Ardelean <alex@shruggie.ro>
Sat, 28 Jan 2023 08:27:41 +0000 (10:27 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 30 Jan 2023 13:35:14 +0000 (13:35 +0000)
commit879142be618c05d234db31cbf69f101c53b7892f
treeb2354def88e3e795c77b67ae6b035413f2da7a06
parent21d64f6f63eeca9f136ac514ca801a5a6485cd78
ASoC: codecs: tas5720: split a tas5720_mute_soc_component() function

This is to be re-used in tas5720_mute() (which is part of the dai_ops) and
also in the tas5720_fault_check_work() hook.

The benefit here isn't too great (now).
It's only when we add support for a new device with a slightly different
regmap that this becomes more useful.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Link: https://lore.kernel.org/r/20230128082744.41849-1-alex@shruggie.ro
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas5720.c