ASoC: tas2552: Fix kernel crash caused by wrong kcontrol entry
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 4 Jun 2015 13:04:15 +0000 (16:04 +0300)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 4 Jul 2015 03:02:24 +0000 (23:02 -0400)
commit7fc2eaae419cbf204c00dcbd36bd514d88c094a7
tree7b9043c9167b152f01cdd812a986625da72d9113
parent9f62d78bb265b3c927c0d75c43c22932d05ac3c4
ASoC: tas2552: Fix kernel crash caused by wrong kcontrol entry

[ Upstream commit 1cf0f44811b754b64283b11ef0e60cb0de07b29c ]

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

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/soc/codecs/tas2552.c