diff options
| author | Ben Zhang <[email protected]> | 2019-11-05 17:13:28 -0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-11-11 13:02:00 +0000 |
| commit | 21c00e5df4397870ee835c974bf50570f9d24253 (patch) | |
| tree | 1c6abff0adae400cd4d9f0534811bab699e534cc /scripts/gdb/linux/tasks.py | |
| parent | 157b006f6be46be833b2941856b86e0a9d8bfb0e (diff) | |
ASoC: rt5677: Enable jack detect while DSP is running
Before a hotword is detected, GPIO1 pin is configured as IRQ
output so that jack detect works. When a hotword is detected,
the DSP firmware configures the GPIO1 pin as GPIO1 and
drives a 1. rt5677_irq() is called after a rising edge on
the GPIO1 pin, due to either jack detect event or hotword
event, or both. All possible events are checked and handled
in rt5677_irq() where GPIO1 pin is configured back to IRQ
output if a hotword is detected.
Signed-off-by: Ben Zhang <[email protected]>
Signed-off-by: Curtis Malainey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions