]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: soc-component: add snd_soc_component_regmap_val_bytes()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 12 Mar 2026 00:15:03 +0000 (00:15 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 20 Mar 2026 12:55:36 +0000 (12:55 +0000)
commitc2da4813882b8037198cd8e67182293e17b44573
treeeedbea0f312b1326a2f60f8ad4caaa2ea85af961
parentf338e77383789c0cae23ca3d48adcc5e9e137e3c
ASoC: soc-component: add snd_soc_component_regmap_val_bytes()

component has component->val_bytes which is set via
snd_soc_component_setup_regmap(). But it can be calculated via
component->regmap. No need to keep it as component->val_bytes.

Add snd_soc_component_regmap_val_bytes() for it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/878qbxzywo.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-component.h
sound/soc/soc-component.c