From: Takashi Iwai Date: Tue, 18 Feb 2014 08:24:12 +0000 (+0100) Subject: ASoC: sta32x: Fix array access overflow X-Git-Tag: v3.14-rc5~12^2~1^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=025c3fa9256d4c54506b7a29dc3befac54f5c68d;p=pandora-kernel.git ASoC: sta32x: Fix array access overflow Preset EQ enum of sta32x codec driver declares too many number of items and it may lead to the access over the actual array size. Use SOC_ENUM_SINGLE_DECL() helper and it's automatically fixed. Signed-off-by: Takashi Iwai Acked-by: Liam Girdwood Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed