]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: soc-component: add snd_soc_component_regmap_val_bytes()
authorMark Brown <broonie@kernel.org>
Fri, 20 Mar 2026 12:55:40 +0000 (12:55 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 20 Mar 2026 12:55:59 +0000 (12:55 +0000)
commit4bdb626957bfad8ab0292608b6f153135adebe7c
treec399dfb0365294f704d87186df5192005468c7cf
parenta809ff6469c53d69db5f30251bcf206d618bcccb
parentb84d27531744e046a72120882f513f42e361269d
ASoC: soc-component: add snd_soc_component_regmap_val_bytes()

Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> says:

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.

This patchset adds new snd_soc_component_regmap_val_bytes(),
and remove component->val_bytes / snd_soc_component_setup_regmap().

Link: https://patch.msgid.link/87a4wdzyxf.wl-kuninori.morimoto.gx@renesas.com
include/sound/soc-component.h
sound/soc/soc-component.c
sound/soc/soc-core.c
sound/soc/soc-ops.c