summaryrefslogtreecommitdiffstats
path: root/include/sound/rt5670.h
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2015-03-10 23:42:44 -0400
committerMark Brown <broonie@kernel.org>2015-03-11 08:08:20 -0400
commitd3ef70543429b754dacc87fc68c30c2c34502337 (patch)
tree1edcd9f8f20cda2e41253735f28ffc4dc010bec8 /include/sound/rt5670.h
parenteb5bc2a213f96bd43b5f00a625acb0c669613645 (diff)
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>
Diffstat (limited to 'include/sound/rt5670.h')
-rw-r--r--include/sound/rt5670.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/rt5670.h b/include/sound/rt5670.h
index bd311197a3b5..b7d60510819b 100644
--- a/include/sound/rt5670.h
+++ b/include/sound/rt5670.h
@@ -14,6 +14,7 @@
14struct rt5670_platform_data { 14struct rt5670_platform_data {
15 int jd_mode; 15 int jd_mode;
16 bool in2_diff; 16 bool in2_diff;
17 bool dev_gpio;
17 18
18 bool dmic_en; 19 bool dmic_en;
19 unsigned int dmic1_data_pin; 20 unsigned int dmic1_data_pin;