forked from rubenslte/android_kernel_samsung_msm8226
EQ index is copied over from userspace. There's potential risk that this value can exceed the array boundary. A sanity check for the index is required. Change-Id: Ic57a00521119c9fa77dfe0971d58da701092f850 CRs-Fixed: 791363 Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>