diff options
author | Xing Zheng <zhengxing@rock-chips.com> | 2018-04-21 22:33:08 +0800 |
---|---|---|
committer | Xing Zheng <zhengxing@rock-chips.com> | 2018-04-25 09:39:07 +0800 |
commit | 837dedffc40b8939d623ad957173ff912127273e (patch) | |
tree | 6f9bcb41052700029d937db5e52c88bd9a720302 /arch | |
parent | ebe374e9c4596ec89374a8a22e86564c13e3119f (diff) |
ASoC: rk3308_codec: clean up and add support headphone detection
Since this signal line is directly connected to the GIC,
it has not been processed by the logic gate. Therefore,
when the headphone is plugged in, the status register
will remain high and when pulled out, the status register
will be converted to a low level.
However, the GIC can only accept high and rising edge
triggers, so when the headset is plugged in, it needs to
poll (~2s) to detect whether plug the headphone.
Change-Id: I321cd363103127911c503a63008882ffbc9c3633
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions