ASoC: Swap bias level enumeration
authorJarkko Nikula <jhnikula@gmail.com>
Tue, 31 Aug 2010 11:52:35 +0000 (14:52 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 31 Aug 2010 12:06:40 +0000 (13:06 +0100)
Swapping the bias level enumeration is only meant to help debugging. It is
easier if number 0 means bias off and bigger number means bigger bias level.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h

index d31e8b7b2d5e453969adff8151b796b6b60879cb..493b3a4c193a2b901d52d437a6a3eea3948650d7 100644 (file)
  * @OFF:     Power Off. No restrictions on transition times.
  */
 enum snd_soc_bias_level {
-       SND_SOC_BIAS_ON,
-       SND_SOC_BIAS_PREPARE,
-       SND_SOC_BIAS_STANDBY,
        SND_SOC_BIAS_OFF,
+       SND_SOC_BIAS_STANDBY,
+       SND_SOC_BIAS_PREPARE,
+       SND_SOC_BIAS_ON,
 };
 
 struct snd_jack;