]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5670: Add IRQ function
authorBard Liao <bardliao@realtek.com>
Wed, 11 Mar 2015 03:42:44 +0000 (11:42 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 Mar 2015 12:08:20 +0000 (12:08 +0000)
commita145f2d7dd1f3789b9240ec1b7046c2e49a816f5
tree1edcd9f8f20cda2e41253735f28ffc4dc010bec8
parent7d661a4013415f7a2021c3a2f534cdb03550d711
ASoC: rt5670: Add IRQ function

This patch adds the IRQ function support of rt5670. We use a flag
named dev_gpio in platform data to inform codec driver if the IRQ
function is used or not. Also, we export rt5670_set_jack_detect
for machine driver to pass the jack point.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/rt5670.h
sound/soc/codecs/rt5670.c
sound/soc/codecs/rt5670.h