diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2014-09-19 19:15:45 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-01 19:28:44 +0100 |
commit | f3fa1bbd836a7d6efb2abd506ed8e24096f39062 (patch) | |
tree | 7edd4838322132d185385252d7f46d608d7c6197 /include/sound/rt5645.h | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | linux-stable-f3fa1bbd836a7d6efb2abd506ed8e24096f39062.tar.gz linux-stable-f3fa1bbd836a7d6efb2abd506ed8e24096f39062.tar.bz2 linux-stable-f3fa1bbd836a7d6efb2abd506ed8e24096f39062.zip |
ASoC: rt5645: Add headset detect function
Add headset detect function
Signed-off-by: Oder Chiou <oder_chiou@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 1de744c242f6..a5352712194b 100644 --- a/include/sound/rt5645.h +++ b/include/sound/rt5645.h @@ -20,6 +20,9 @@ struct rt5645_platform_data { /* 0 = IN2N; 1 = GPIO5; 2 = GPIO11 */ unsigned int dmic2_data_pin; /* 0 = IN2P; 1 = GPIO6; 2 = GPIO10; 3 = GPIO12 */ + + unsigned int hp_det_gpio; + bool gpio_hp_det_active_high; }; #endif |