msm: audio: qdsp6v2: Add size safety check to ACDB driver

Check that the size sent by userspace is not larger
then the internal amount allowed. This protects
against overflowing the stack due to an invalid size.
Change-Id: I8230fdb00a7b57d398929e8ab0eb6587476f3db1
CRs-fixed: 470222
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
Revert "merge camera jfactive sources"

merging forks branches is not a good idea

This reverts commit 981d1b772d2309f699921c875d586098ca36cbde

Change-Id: I82331cf1c7fc7979ab587ecdd3de43dda45db9f3
Merge "Revert "merge camera jfactive sources"" into cm-10.1
Revert "jfactivexx: MEx merge"

merging forks branches is not a good idea

This reverts commit 49f44213a0fa44c2a57acfecb94193d6ec594ebd

Change-Id: I95e55f43810d5164caf60e2205efe82a453e9da8
Merge branch 'cm-10.1' of https://github.com/CyanogenMod/android_kernel_samsung_jf into kbc-aosp-jb-mr1