From: Mark Brown Date: Thu, 5 Mar 2009 17:06:23 +0000 (+0000) Subject: ASoC: Fix memory allocation for snd_soc_dapm_switch names X-Git-Tag: v2.6.30-rc1~8^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07495f3e5af3a472f0f49957692cac15168fa528;p=pandora-kernel.git ASoC: Fix memory allocation for snd_soc_dapm_switch names snd_soc_dapm_switch ends up ends up in dapm_new_mixer() (since a switch is a special case of a mixer with only one input) but this wasn't correctly handled in the code. Also fix the coding style for the switch below while we're here. Reported-by: Joonyoung Shim Signed-off-by: Mark Brown --- Reading git-diff-tree failed