Home
last modified time | relevance | path

Searched hist:"3 b171194493c5f7b2aa9b76deb402a8e98ab510f" (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/fsl/
H A Dfsl-asoc-card.cdiff 3b171194493c5f7b2aa9b76deb402a8e98ab510f Wed Jul 15 16:09:39 CEST 2020 Shengjiu Wang <shengjiu.wang@nxp.com> ASoC: fsl-asoc-card: Support Headphone and Microphone Jack detection

Use asoc_simple_init_jack function from simple card to implement
the Headphone and Microphone detection.
Register notifier to disable Speaker when Headphone is plugged in
and enable Speaker when Headphone is unplugged.
Register notifier to disable Digital Microphone when Analog Microphone
is plugged in and enable DMIC when Analog Microphone is unplugged.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/1594822179-1849-4-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
H A DKconfigdiff 3b171194493c5f7b2aa9b76deb402a8e98ab510f Wed Jul 15 16:09:39 CEST 2020 Shengjiu Wang <shengjiu.wang@nxp.com> ASoC: fsl-asoc-card: Support Headphone and Microphone Jack detection

Use asoc_simple_init_jack function from simple card to implement
the Headphone and Microphone detection.
Register notifier to disable Speaker when Headphone is plugged in
and enable Speaker when Headphone is unplugged.
Register notifier to disable Digital Microphone when Analog Microphone
is plugged in and enable DMIC when Analog Microphone is unplugged.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/1594822179-1849-4-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>