summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2015-12-30 15:33:20 +0800
committerMark Brown <broonie@kernel.org>2015-12-30 16:34:54 +0000
commit7ff6319e7da5c09f0ce86d122d46040807262325 (patch)
tree6af334526863afb3172edcf7d293812103888dd4 /sound/core
parent9761c0f65d3a4c7ae8ceec86ac9d8d2c64197d57 (diff)
downloadop-kernel-dev-7ff6319e7da5c09f0ce86d122d46040807262325.zip
op-kernel-dev-7ff6319e7da5c09f0ce86d122d46040807262325.tar.gz
ASoC: rt5645: use polling to support HS button
The IRQ pin will keep high when the headset button is pressed. And keep low when the headset button is released. So, we need irq trigger at both edges. However, some platform can't support it. Therefore, we polling the register to report the button release event once a button presse event is received. To support the headset button detection function for those can't support both edges trigger platforms, we also need to invert the polarity of jack detection irq since we need to keep the IRQ pin low in normal case. Signed-off-by: John Lin <john.lin@realtek.com> Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud