Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[safe/jmp/linux-2.6] / include / sound / soc-dapm.h
index c0922a0..66ff4c1 100644 (file)
@@ -339,6 +339,9 @@ int snd_soc_dapm_disable_pin(struct snd_soc_codec *codec, const char *pin);
 int snd_soc_dapm_nc_pin(struct snd_soc_codec *codec, const char *pin);
 int snd_soc_dapm_get_pin_status(struct snd_soc_codec *codec, const char *pin);
 int snd_soc_dapm_sync(struct snd_soc_codec *codec);
+int snd_soc_dapm_force_enable_pin(struct snd_soc_codec *codec,
+                                 const char *pin);
+int snd_soc_dapm_ignore_suspend(struct snd_soc_codec *codec, const char *pin);
 
 /* dapm widget types */
 enum snd_soc_dapm_type {
@@ -425,9 +428,8 @@ struct snd_soc_dapm_widget {
        unsigned char connected:1;              /* connected codec pin */
        unsigned char new:1;                    /* cnew complete */
        unsigned char ext:1;                    /* has external widgets */
-       unsigned char muted:1;                  /* muted for pop reduction */
-       unsigned char suspend:1;                /* was active before suspend */
-       unsigned char pmdown:1;                 /* waiting for timeout */
+       unsigned char force:1;                  /* force state */
+       unsigned char ignore_suspend:1;         /* kept enabled over suspend */
 
        int (*power_check)(struct snd_soc_dapm_widget *w);