]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SDCA: Add hw_params() helper function
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 7 Jul 2025 12:41:55 +0000 (13:41 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 15 Jul 2025 18:45:51 +0000 (19:45 +0100)
commit4ed357f72a0e0a691304e5f14a3323811c8ce862
tree1ef17bb4bf5ae5b3c1e830683d293951c80669eb
parent264d3d776fb1a428706b0ca0f679bbed876fe7c9
ASoC: SDCA: Add hw_params() helper function

Add a helper function that can be called from hw_params() in the DAI ops
to configure the SDCA Cluster, Clock and Usage controls. These setup the
channels, sample rate, and bit depths that will be used by the Terminal.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250707124155.2596744-8-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca_asoc.h
sound/soc/sdca/sdca_asoc.c