Skip to contentSkip to conversation

Applied "ASoC: tas2552: Fix kernel crash caused by wrong kcontrol entry" to the asoc tree

PATCH Mark Brown 1 participant 1 message Jun 4, 2015

Subsystems (4)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

The patch

ASoC: tas2552: Fix kernel crash caused by wrong kcontrol entry

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 1cf0f44811b754b64283b11ef0e60cb0de07b29c Mon Sep 17 00:00:00 2001

From: Peter Ujfalusi <[email protected]>
Date: Thu, 4 Jun 2015 16:04:15 +0300
Subject: [PATCH] ASoC: tas2552: Fix kernel crash caused by wrong kcontrol
entry

SOC_DAPM_SINGLE("Playback AMP", ..) should not be under kcontrols. It causes kernel crash (NULL pointer) when the mixers are listed.

---
 sound/soc/codecs/tas2552.c | 1 -
 1 file changed, 1 deletion(-)
sound/soc/codecs/tas2552.c +0 -1
index df89947f1032..9954bd4c14f3 100644
@@ -338,7 +338,6 @@ static DECLARE_TLV_DB_SCALE(dac_tlv, -7, 100, 24);
 static const struct snd_kcontrol_new tas2552_snd_controls[] = {
 	SOC_SINGLE_TLV("Speaker Driver Playback Volume",
 			 TAS2552_PGA_GAIN, 0, 0x1f, 1, dac_tlv),
-	SOC_DAPM_SINGLE("Playback AMP", SND_SOC_NOPM, 0, 1, 0),
 };
 
 static const struct reg_default tas2552_init_regs[] = {
Signature · 1 line
2.1.4