]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5651: Add button press support
authorHans de Goede <hdegoede@redhat.com>
Wed, 4 Jul 2018 22:59:33 +0000 (00:59 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 10 Jul 2018 17:49:26 +0000 (18:49 +0100)
commitc84a59077f4c7553807651f3a64cd2dd3219a8d7
treed1a9d89d2d167409d5960aabea6dc459a1d9742e
parent8aec241f00d7ab1a1d5d91201b959ba76721e40b
ASoC: rt5651: Add button press support

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

This is modelled after (almost exactly copied from) the button press code
for the rt5640 which has identical ovcd hardware.

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