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;
}
aic3x_add_widgets(codec);
-- list_add(&aic3x->list, &reset_list);
return 0;
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) &&
#include <sound/pxa2xx-lib.h>
#include <sound/dmaengine_pcm.h>
--#include <mach/hardware.h>
--
#include "../../arm/pxa2xx-pcm.h"
#include "pxa-ssp.h"
#ifdef CONFIG_OF
static const struct of_device_id pxa_ssp_of_ids[] = {
{ .compatible = "mrvl,pxa-ssp-dai" },
+ + {}
};
#endif