ASoC: rt5640: Add button press support
authorHans de Goede <hdegoede@redhat.com>
Tue, 8 May 2018 15:35:52 +0000 (17:35 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 11 May 2018 02:23:37 +0000 (11:23 +0900)
commitb16188a20f62b4d2f2bc7ede2ca3b15253184352
tree304d1c798e35237fd90f778730506582bd40669e
parent8210804bcf40b837f8560c99efb315c0bbfc8c7b
ASoC: rt5640: Add button press support

Enable button press detection for headsets by using the ovcd IRQ to get
notified of button presses.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5640.c
sound/soc/codecs/rt5640.h