ASoC: Rename WM8994 detecting flag to mic_detecting
[firefly-linux-kernel-4.4.55.git] / sound / soc / codecs / wm8994.h
index 1087425cbac0b38ed95b593a3a5fbbe0d29a9dd9..8622bc4db2fec45f0b10a266ba469548ccacc929 100644 (file)
@@ -70,10 +70,11 @@ struct wm8994_fll_config {
 #define WM8994_NUM_DRC 3
 #define WM8994_NUM_EQ  3
 
+struct wm8994;
+
 struct wm8994_priv {
        struct wm_hubs_data hubs;
-       enum snd_soc_control_type control_type;
-       void *control_data;
+       struct wm8994 *wm8994;
        struct snd_soc_codec *codec;
        int sysclk[2];
        int sysclk_rate[2];
@@ -126,8 +127,9 @@ struct wm8994_priv {
        struct soc_enum enh_eq_enum;
 
        struct wm8994_micdet micdet[2];
-       bool detecting;
+       bool mic_detecting;
        bool jack_mic;
+       int btn_mask;
 
        wm8958_micdet_cb jack_cb;
        void *jack_cb_data;