diff options
author | Mark Brown <broonie@kernel.org> | 2015-08-30 14:52:12 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-30 14:52:12 (GMT) |
commit | cb42e0f709a73caf4d631be32189bb1ca513ad25 (patch) | |
tree | 16a45cd33a8edf58967cd56cc74f51dbc3d91e5c /sound/soc/codecs/rt5645.h | |
parent | ca945cf9fb887ff64e63f324a9098a1bd848c58f (diff) | |
parent | f2988afedf2c19880a3c65d79dfc7939e1b53d8a (diff) | |
download | linux-cb42e0f709a73caf4d631be32189bb1ca513ad25.tar.xz |
Merge remote-tracking branch 'asoc/topic/rt5645' into asoc-next
Diffstat (limited to 'sound/soc/codecs/rt5645.h')
-rw-r--r-- | sound/soc/codecs/rt5645.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/sound/soc/codecs/rt5645.h b/sound/soc/codecs/rt5645.h index 278bb9f..0e4cfc6 100644 --- a/sound/soc/codecs/rt5645.h +++ b/sound/soc/codecs/rt5645.h @@ -2115,6 +2115,7 @@ enum { #define RT5645_JD_PSV_MODE (0x1 << 12) #define RT5645_IRQ_CLK_GATE_CTRL (0x1 << 11) #define RT5645_MICINDET_MANU (0x1 << 7) +#define RT5645_RING2_SLEEVE_GND (0x1 << 5) /* Vendor ID (0xfd) */ #define RT5645_VER_C 0x2 @@ -2181,32 +2182,6 @@ enum { int rt5645_sel_asrc_clk_src(struct snd_soc_codec *codec, unsigned int filter_mask, unsigned int clk_src); -struct rt5645_priv { - struct snd_soc_codec *codec; - 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; - struct delayed_work jack_detect_work; - - int codec_type; - int sysclk; - int sysclk_src; - int lrck[RT5645_AIFS]; - int bclk[RT5645_AIFS]; - int master[RT5645_AIFS]; - - int pll_src; - int pll_in; - int pll_out; - - int jack_type; - bool en_button_func; -}; - int rt5645_set_jack_detect(struct snd_soc_codec *codec, struct snd_soc_jack *hp_jack, struct snd_soc_jack *mic_jack, struct snd_soc_jack *btn_jack); |