diff options
author | Bard Liao <bardliao@realtek.com> | 2014-11-05 07:02:08 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-06 12:33:49 (GMT) |
commit | bb656add19764c7a3cf28b2b330ec0a189fe4f48 (patch) | |
tree | 74f8c541138f8c51d9be27a27277b3db76b851dd /include/sound/rt5645.h | |
parent | 0b2e4959ceacb26eb586698d9ceecc0a6bd30f72 (diff) | |
download | linux-bb656add19764c7a3cf28b2b330ec0a189fe4f48.tar.xz |
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 a535271..937f421 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 |