ASoC: Specify target bias state directly as a bias state
[firefly-linux-kernel-4.4.55.git] / include / sound / soc.h
index f1de3e0c75bcad1da0cbed760272fe5e190bccdc..0f297006f5b250a34b6d34b9858d5c3fc5021c58 100644 (file)
  * @OFF:     Power Off. No restrictions on transition times.
  */
 enum snd_soc_bias_level {
-       SND_SOC_BIAS_OFF,
-       SND_SOC_BIAS_STANDBY,
-       SND_SOC_BIAS_PREPARE,
-       SND_SOC_BIAS_ON,
+       SND_SOC_BIAS_OFF = 0,
+       SND_SOC_BIAS_STANDBY = 1,
+       SND_SOC_BIAS_PREPARE = 2,
+       SND_SOC_BIAS_ON = 3,
 };
 
 struct snd_jack;