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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:04 +0000 (09:29 -0700)
commit3041c3fb3bfc12bc2a5c9aa69d76cdb4c6f0476d
tree10cfeb05ad3282b8a02bda107ce1c1b23b3858a9
parent849349aa2dabe93aee517f337e2394ab62921393
ASoC: tas2552: Fix kernel crash caused by wrong kcontrol entry

commit 1cf0f44811b754b64283b11ef0e60cb0de07b29c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/tas2552.c