ASoC: dapm: Introduce toplevel widget categories
[firefly-linux-kernel-4.4.55.git] / include / sound / soc-dapm.h
index ebb93f29e4f323f22497c1e071757013576b0f89..8cf3aad3086487060e9246cc1678ba143c2d0948 100644 (file)
@@ -543,11 +543,13 @@ struct snd_soc_dapm_widget {
        unsigned char active:1;                 /* active stream on DAC, ADC's */
        unsigned char connected:1;              /* connected codec pin */
        unsigned char new:1;                    /* cnew complete */
-       unsigned char ext:1;                    /* has external widgets */
        unsigned char force:1;                  /* force state */
        unsigned char ignore_suspend:1;         /* kept enabled over suspend */
        unsigned char new_power:1;              /* power from this run */
        unsigned char power_checked:1;          /* power checked this run */
+       unsigned char is_supply:1;              /* Widget is a supply type widget */
+       unsigned char is_sink:1;                /* Widget is a sink type widget */
+       unsigned char is_source:1;              /* Widget is a source type widget */
        int subseq;                             /* sort within widget type */
 
        int (*power_check)(struct snd_soc_dapm_widget *w);