Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 997e7547 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

Merge tag 'asoc-v3.14-rc4-2' of...

Merge tag 'asoc-v3.14-rc4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Updates for v3.14

A few more driver specific bug fixes, all driver specific things that
only affect users of those devices.
parents e2755cf9 23308e88
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -1268,11 +1268,23 @@ static struct snd_soc_dai_driver da732x_dai[] = {
	},
	},
};
};


static bool da732x_volatile(struct device *dev, unsigned int reg)
{
	switch (reg) {
	case DA732X_REG_HPL_DAC_OFF_CNTL:
	case DA732X_REG_HPR_DAC_OFF_CNTL:
		return true;
	default:
		return false;
	}
}

static const struct regmap_config da732x_regmap = {
static const struct regmap_config da732x_regmap = {
	.reg_bits		= 8,
	.reg_bits		= 8,
	.val_bits		= 8,
	.val_bits		= 8,


	.max_register		= DA732X_MAX_REG,
	.max_register		= DA732X_MAX_REG,
	.volatile_reg		= da732x_volatile,
	.reg_defaults		= da732x_reg_cache,
	.reg_defaults		= da732x_reg_cache,
	.num_reg_defaults	= ARRAY_SIZE(da732x_reg_cache),
	.num_reg_defaults	= ARRAY_SIZE(da732x_reg_cache),
	.cache_type		= REGCACHE_RBTREE,
	.cache_type		= REGCACHE_RBTREE,
+1 −1
Original line number Original line Diff line number Diff line
@@ -434,7 +434,7 @@ SOC_SINGLE_TLV("Treble Tone Control", STA32X_TONE, STA32X_TONE_TTC_SHIFT, 15, 0,
SOC_ENUM("Limiter1 Attack Rate (dB/ms)", sta32x_limiter1_attack_rate_enum),
SOC_ENUM("Limiter1 Attack Rate (dB/ms)", sta32x_limiter1_attack_rate_enum),
SOC_ENUM("Limiter2 Attack Rate (dB/ms)", sta32x_limiter2_attack_rate_enum),
SOC_ENUM("Limiter2 Attack Rate (dB/ms)", sta32x_limiter2_attack_rate_enum),
SOC_ENUM("Limiter1 Release Rate (dB/ms)", sta32x_limiter1_release_rate_enum),
SOC_ENUM("Limiter1 Release Rate (dB/ms)", sta32x_limiter1_release_rate_enum),
SOC_ENUM("Limiter2 Release Rate (dB/ms)", sta32x_limiter1_release_rate_enum),
SOC_ENUM("Limiter2 Release Rate (dB/ms)", sta32x_limiter2_release_rate_enum),


/* depending on mode, the attack/release thresholds have
/* depending on mode, the attack/release thresholds have
 * two different enum definitions; provide both
 * two different enum definitions; provide both
+1 −1
Original line number Original line Diff line number Diff line
@@ -153,7 +153,7 @@ static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,


			data32 &= 0xffffff;
			data32 &= 0xffffff;


			wm8994_bulk_write(codec->control_data,
			wm8994_bulk_write(wm8994->wm8994,
					  data32 & 0xffffff,
					  data32 & 0xffffff,
					  block_len / 2,
					  block_len / 2,
					  (void *)(data + 8));
					  (void *)(data + 8));