From: Takashi Iwai Date: Tue, 18 Feb 2014 08:24:12 +0000 (+0100) Subject: ASoC: sta32x: Fix array access overflow X-Git-Tag: v3.2.56~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=270bcf0672347f19f6214802c1842fa1e6d9fd2d;p=pandora-kernel.git ASoC: sta32x: Fix array access overflow commit 025c3fa9256d4c54506b7a29dc3befac54f5c68d upstream. 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 Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed