[PATCH 2/3] ASoC: codecs: Add support for the Renesas IDT821034 codec

Mark Brown broonie at kernel.org
Fri Jan 13 13:59:59 CET 2023


On Fri, Jan 13, 2023 at 09:04:31AM +0100, Herve Codina wrote:

> For DAPM (struct snd_soc_dapm_widget), no kind of .put() and .get()
> are available. I will use some Ids for the 'reg' value and use the
> .write() and .read() hooks available in struct snd_soc_component_driver
> in order to handle these Ids and so perform the accesses.

That's what the event hooks are for - there's plenty of widgets using
SND_SOC_NOPM as the register, look at those for examples.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20230113/45301db8/attachment.sig>


More information about the Alsa-devel mailing list