[alsa-devel] [PATCH] ASoC: pcm3168a: remove read-only status register from snd_kcontrol_new

Mark Brown broonie at kernel.org
Wed Oct 17 21:00:53 CEST 2018


On Wed, Oct 17, 2018 at 01:55:01AM +0000, Kuninori Morimoto wrote:

> +#if 0
> +	/* read-only status register needs clocks */
>  	SOC_DOUBLE_STS("DAC1 Zero Flag", PCM3168A_DAC_ZERO, 0, 1, 1, 0),
>  	SOC_DOUBLE_STS("DAC2 Zero Flag", PCM3168A_DAC_ZERO, 2, 3, 1, 0),
>  	SOC_DOUBLE_STS("DAC3 Zero Flag", PCM3168A_DAC_ZERO, 4, 5, 1, 0),
>  	SOC_DOUBLE_STS("DAC4 Zero Flag", PCM3168A_DAC_ZERO, 6, 7, 1, 0),
> +#endif

If you're removing these just delete them, no need to leave the
commented out stuff.  It would be good to understand why these break
though...
-------------- 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/20181017/491fc1a1/attachment.sig>


More information about the Alsa-devel mailing list