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>
usb: gadget: rndis: Add remote wakeup support to f_qc_rndis

USB rndis driver function must implement remote wakeup to enable
resume of rndis session from the client side.
This change adds support of remote wakeup for rndis over BAM-BAM.

Change-Id: Ia452decc4b55c8b835ff623f1ac665bf33af60b8
CRs-Fixed: 467747
Signed-off-by: Anna Perel <aperel@codeaurora.org>
Signed-off-by: Bar Weiner <bweiner@codeaurora.org>
usb: bam: Allow apps to wakeup using BAM IRQ

To allow VDD min, we need to put the APPs core into suspend
power collapse.  At the moment, the BAM IRQ is not labeled as
wakeable, so it will not be able to wake the apps. This fix will
allow the core exit VDD min.

Change-Id: I6ef4a53ce5b553ce98bc7537aa2076a511ffb87d
CRs-Fixed: 467747
Signed-off-by: Bar Weiner <bweiner@codeaurora.org>
Merge "usb: gadget: rndis: Add remote wakeup support to f_qc_rndis"
Merge "usb: bam: Allow apps to wakeup using BAM IRQ"
Merge "msm: audio: qdsp6v2: Add size safety check to ACDB driver"