[alsa-devel] ASoC: nau8825: default value for property

Mark Brown broonie at kernel.org
Wed Jun 21 12:56:31 CEST 2017


On Wed, Jun 21, 2017 at 02:44:06PM +0800, John Hsu wrote:

> +	if (nau8825->jkdet_enable != true &&
> +		nau8825->jkdet_enable != false)
> +		nau8825->jkdet_enable = 1;

Won't jack detection require specific wiring on the board (if only
connection of the interupt line)?

> +	if (nau8825->jkdet_pull_enable != true &&
> +		nau8825->jkdet_pull_enable != false)
> +		nau8825->jkdet_pull_enable = 1;

Usually we'd just use the chip defaults...
-------------- 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/20170621/6096d2c8/attachment.sig>


More information about the Alsa-devel mailing list