ASoC: tlv320aic31xx: Add button press detection
authorAndrew F. Davis <afd@ti.com>
Mon, 1 Apr 2019 15:13:29 +0000 (10:13 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 2 Apr 2019 05:41:40 +0000 (12:41 +0700)
commit90f0202bf2e15e8933a550b7dfd439b500a76e1c
tree950d5075725a777145502a80ec474cf524a412fc
parentebf3326cd96989a498892a1b344faee3110f7877
ASoC: tlv320aic31xx: Add button press detection

This device can optionally detect headset or microphone button presses.
Add support for this by passing this event to the jack layer.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic31xx.c
sound/soc/codecs/tlv320aic31xx.h