diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2015-06-10 09:27:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-10 20:32:02 +0300 |
commit | 0b0cefc8fd105f379989164f3ef7e5b4a0d44c1f (patch) | |
tree | acc4fe8101237cfede3cf282d662d8334de7d810 /sound/soc/codecs/rt5645.h | |
parent | 5ae4f63b5062bc4e329940cc5cecdf0856b85849 (diff) | |
download | linux-0b0cefc8fd105f379989164f3ef7e5b4a0d44c1f.tar.xz |
ASoC: rt5645: change gpio to gpiod APIs
Move gpio to gpio_desc and use gpiod APIs in codec driver.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5645.h')
-rw-r--r-- | sound/soc/codecs/rt5645.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5645.h b/sound/soc/codecs/rt5645.h index 9ec4e899795d..0353a6a273ab 100644 --- a/sound/soc/codecs/rt5645.h +++ b/sound/soc/codecs/rt5645.h @@ -2182,6 +2182,7 @@ struct rt5645_priv { struct rt5645_platform_data pdata; struct regmap *regmap; struct i2c_client *i2c; + struct gpio_desc *gpiod_hp_det; struct snd_soc_jack *hp_jack; struct snd_soc_jack *mic_jack; struct snd_soc_jack *btn_jack; |