]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: nau8825: make crosstalk function optional
authorJohn Hsu <supercraig0719@gmail.com>
Thu, 22 Jun 2017 03:57:55 +0000 (11:57 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 23 Jun 2017 12:02:17 +0000 (13:02 +0100)
commit446d78bab28298b762b17001e21df6c7abd2495f
treef537464046f983c96731a1a2378fd6d4e4ad4e5a
parent5381ba6aed4531569c89a46fee531582d0da1ea3
ASoC: nau8825: make crosstalk function optional

Make crosstalk functoin optional.
The jack detection can speed up without crosstalk detection.
Let the decision of function usage to platform design.

The patch helps the issue concern as follows:
Google issue 35574278: Chell_headphone pop back from S3

There is a concern as follows:
cras getting blocked for 2 seconds (worst-case 3 seconds)
As I understand, ChromeOS expects resume finishes in 1 seconds.
Video/Audio playing after 3 seconds of resume seems against the spec.
If we really have to make the choice I would choose pop noise instead
of waiting for 3 seconds.

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