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>
This commit is contained in:
Bard Liao
2014-11-05 15:02:08 +08:00
committed by Mark Brown
parent 0b2e4959ce
commit bb656add19
3 changed files with 28 additions and 0 deletions

View File

@@ -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