]> git.ipfire.org Git - thirdparty/kernel/stable.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)
commitdf1569f2006b157caa944367d0d431eb4ea08624
treed1a9d89d2d167409d5960aabea6dc459a1d9742e
parent34c906ddacd237511808fb2bbd941e6b91e9095a
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