[PATCH 1/2] ASoC: q6afe-dai: add dummy register read function
Mark Brown
broonie at kernel.org
Tue Aug 11 13:36:50 CEST 2020
On Tue, Aug 11, 2020 at 01:04:09PM +0200, Stephan Gerhold wrote:
> Actually q6afe-dai does not seem to make use of the register number.
> The DAPM widgets all look like
> SND_SOC_DAPM_AIF_IN("HDMI_RX", NULL, 0, 0, 0, 0),
> /* (wname, stname, wchan, wreg, wshift, winvert)
> Wouldn't it be better to replace wreg = 0 with SND_SOC_NOPM in this case
> so the read/write won't happen at all?
Yes, if they are not used at all then that's what _NOPM is for.
-------------- 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/20200811/6d4869d4/attachment.sig>
More information about the Alsa-devel
mailing list