[alsa-devel] [PATCH 2/2] ASoC: WM8962: Add device tree binding

Mark Brown broonie at kernel.org
Wed Jun 5 14:27:18 CEST 2013


On Wed, Jun 05, 2013 at 08:12:56PM +0800, Nicolin Chen wrote:

> +  - gpio-cfg : A list of GPIO configuration register values. The list must
> +    be 6 entries long. If absent, no configuration of these registers is
> +    performed. And note that the max value for each entry is 0xffff, don't
> +    fill a large one.

It is nicer for users if out of band values are ignored, providing them
with a method for specifying the default register value without having
to actually encode it.  This is both more legible (they explicitly say
"use the default, I don't care") and less work (as the default doesn't
need to be checked).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130605/7315eb0e/attachment.sig>


More information about the Alsa-devel mailing list