diff options
author | Bard Liao <bardliao@realtek.com> | 2014-11-05 02:02:08 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-06 07:33:49 -0500 |
commit | bb656add19764c7a3cf28b2b330ec0a189fe4f48 (patch) | |
tree | 74f8c541138f8c51d9be27a27277b3db76b851dd /include/sound/rt5645.h | |
parent | 0b2e4959ceacb26eb586698d9ceecc0a6bd30f72 (diff) |
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/rt5645.h')
-rw-r--r-- | include/sound/rt5645.h | 3 |
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 { | |||
23 | 23 | ||
24 | unsigned int hp_det_gpio; | 24 | unsigned int hp_det_gpio; |
25 | bool gpio_hp_det_active_high; | 25 | bool gpio_hp_det_active_high; |
26 | |||
27 | /* true if codec's jd function is used */ | ||
28 | bool en_jd_func; | ||
26 | }; | 29 | }; |
27 | 30 | ||
28 | #endif | 31 | #endif |