diff options
author | John Hsu <KCHSU0@nuvoton.com> | 2017-11-24 11:08:26 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-29 11:32:12 +0100 |
commit | 226d7449135ffc62866c06d73b28cac90b3f31e4 (patch) | |
tree | c562801418dd2e0bd869740daaf3b499dd78d5c0 /sound/soc/codecs/nau8825.h | |
parent | Linux 4.15-rc1 (diff) | |
download | linux-226d7449135ffc62866c06d73b28cac90b3f31e4.tar.xz linux-226d7449135ffc62866c06d73b28cac90b3f31e4.zip |
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>
Diffstat (limited to 'sound/soc/codecs/nau8825.h')
-rw-r--r-- | sound/soc/codecs/nau8825.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/nau8825.h b/sound/soc/codecs/nau8825.h index 8aee5c8647ae..199d6ea4dcdc 100644 --- a/sound/soc/codecs/nau8825.h +++ b/sound/soc/codecs/nau8825.h @@ -476,7 +476,7 @@ struct nau8825 { int xtalk_event_mask; bool xtalk_protect; int imp_rms[NAU8825_XTALK_IMM]; - int xtalk_bypass; + int xtalk_enable; }; int nau8825_enable_jack_detect(struct snd_soc_codec *codec, |