Browse Source

Merge remote-tracking branches 'asoc/fix/pxa' and 'asoc/fix/tlv320aic3x' into asoc-linus

Mark Brown 11 years ago
parent
commit
bad6f621e4
2 changed files with 2 additions and 1 deletions
  1. 1 1
      sound/soc/codecs/tlv320aic3x.c
  2. 1 0
      sound/soc/pxa/pxa-ssp.c

+ 1 - 1
sound/soc/codecs/tlv320aic3x.c

@@ -169,7 +169,7 @@ static int snd_soc_dapm_put_volsw_aic3x(struct snd_kcontrol *kcontrol,
 	mask <<= shift;
 	val <<= shift;
 
-	change = snd_soc_test_bits(codec, val, mask, reg);
+	change = snd_soc_test_bits(codec, reg, mask, val);
 	if (change) {
 		update.kcontrol = kcontrol;
 		update.reg = reg;

+ 1 - 0
sound/soc/pxa/pxa-ssp.c

@@ -808,6 +808,7 @@ static const struct snd_soc_component_driver pxa_ssp_component = {
 #ifdef CONFIG_OF
 static const struct of_device_id pxa_ssp_of_ids[] = {
 	{ .compatible = "mrvl,pxa-ssp-dai" },
+	{}
 };
 #endif