Merge remote-tracking branches 'asoc/fix/pxa' and 'asoc/fix/tlv320aic3x' into asoc...
authorMark Brown <broonie@linaro.org>
Tue, 3 Jun 2014 09:39:38 +0000 (10:39 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 3 Jun 2014 09:39:38 +0000 (10:39 +0100)
1  2  3 
sound/soc/codecs/tlv320aic3x.c
sound/soc/pxa/pxa-ssp.c

@@@@ -169,7 -169,7 -169,7 +169,7 @@@@ static int snd_soc_dapm_put_volsw_aic3x
        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;
@@@@ -1399,6 -1399,7 -1399,7 +1399,6 @@@@ static int aic3x_probe(struct snd_soc_c
        }
   
        aic3x_add_widgets(codec);
 --     list_add(&aic3x->list, &reset_list);
   
        return 0;
   
@@@@ -1568,13 -1569,7 -1569,7 +1568,13 @@@@ static int aic3x_i2c_probe(struct i2c_c
   
        ret = snd_soc_register_codec(&i2c->dev,
                        &soc_codec_dev_aic3x, &aic3x_dai, 1);
 --     return ret;
 ++
 ++     if (ret != 0)
 ++             goto err_gpio;
 ++
 ++     list_add(&aic3x->list, &reset_list);
 ++
 ++     return 0;
   
   err_gpio:
        if (gpio_is_valid(aic3x->gpio_reset) &&
diff --combined sound/soc/pxa/pxa-ssp.c
   #include <sound/pxa2xx-lib.h>
   #include <sound/dmaengine_pcm.h>
   
 --#include <mach/hardware.h>
 --
   #include "../../arm/pxa2xx-pcm.h"
   #include "pxa-ssp.h"
   
@@@@ -808,6 -810,7 -810,6 +808,7 @@@@ static const struct snd_soc_component_d
   #ifdef CONFIG_OF
   static const struct of_device_id pxa_ssp_of_ids[] = {
        { .compatible = "mrvl,pxa-ssp-dai" },
+ +     {}
   };
   #endif