summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2014-11-05 15:02:08 +0800
committerMark Brown <broonie@kernel.org>2014-11-06 12:33:49 +0000
commitbb656add19764c7a3cf28b2b330ec0a189fe4f48 (patch)
tree74f8c541138f8c51d9be27a27277b3db76b851dd /include/sound
parent0b2e4959ceacb26eb586698d9ceecc0a6bd30f72 (diff)
downloadlinux-stable-bb656add19764c7a3cf28b2b330ec0a189fe4f48.tar.gz
linux-stable-bb656add19764c7a3cf28b2b330ec0a189fe4f48.tar.bz2
linux-stable-bb656add19764c7a3cf28b2b330ec0a189fe4f48.zip
ASoC: rt5645: Add JD function support
rt5645 codec support jack detection function. The patch will set related registers if JD function is used. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5645.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/rt5645.h b/include/sound/rt5645.h
index a5352712194b..937f421bc66b 100644
--- a/include/sound/rt5645.h
+++ b/include/sound/rt5645.h
@@ -23,6 +23,9 @@ struct rt5645_platform_data {
unsigned int hp_det_gpio;
bool gpio_hp_det_active_high;
+
+ /* true if codec's jd function is used */
+ bool en_jd_func;
};
#endif