ASoC: wm_adsp: Move temporary control name to the stack
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 13 Apr 2015 12:27:57 +0000 (13:27 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Apr 2015 14:38:24 +0000 (15:38 +0100)
commit512f2bbaf63f2623ff43c528f0b4281cde3691ed
treec6650d840742cfe8de245e511dc91c7c9db6fd4f
parent0f4e918cdf81344b63571dfac4088efab34ec3ae
ASoC: wm_adsp: Move temporary control name to the stack

Now we only allocate 44 bytes for the control name keep it on the stack
to avoid a lot of pointless memory allocation.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c