ASoC: nau8825: disable crosstalk by default
authorJohn Hsu <KCHSU0@nuvoton.com>
Fri, 24 Nov 2017 10:08:26 +0000 (18:08 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 29 Nov 2017 10:32:12 +0000 (10:32 +0000)
commit226d7449135ffc62866c06d73b28cac90b3f31e4
treec562801418dd2e0bd869740daaf3b499dd78d5c0
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: nau8825: disable crosstalk by default

The driver makes the crosstalk funciton disabled by default
which can simplify the codec function. The platform may not
need this funciton and reduce the potential risk. Therefore,
We change the property "nuvoton,crosstalk-bypass" to
"nuvoton,crosstalk-enable". The crosstalk measurement is enabled
if the property is set. Otherwise, it is disabled. Besides,
add more condition in the entry point of the crosstalk sequence
to disable the function completely.

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/nau8825.txt
sound/soc/codecs/nau8825.c
sound/soc/codecs/nau8825.h