aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorShengjiu Wang <[email protected]>2020-07-15 22:09:39 +0800
committerMark Brown <[email protected]>2020-07-16 23:24:14 +0100
commit3b171194493c5f7b2aa9b76deb402a8e98ab510f (patch)
tree9ef57e5879bdfdffee560f9e5caa186dae1eda02 /lib/netdev-notifier-error-inject.c
parentc3c058aba4032a0f88a2f203472d7b5076a926b4 (diff)
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 <[email protected]> Acked-by: Nicolin Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions