ASoC: msm: Add bounds checking to ADM get params

Add additional bounds checking to ADM get params.
Validate that all buffer sizes are valid before
dereferencing.

Change-Id: If7c7a5ae6a56812e9c4a11a38c9bdc78f42d09f3
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
USB: gadget: f_rndis: Add check before queuing notification available

There is a chance that rndis_response_available() and unbind() race each
other due to which request's buffer might have freed and could cause
accessing freed buffer pointer. Hence add check before accessing buffer
pointer of USB request for interrupt endpoint.

CRs-fixed: 731323
Change-Id: I2082e54cbdc28817651e75e8e8ed13d0ee61a6d5
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Merge "ASoC: msm: Add bounds checking to ADM get params"
ASoC: msm: reorg q6core header file

This is needed to allow include from
non soc folder.

CRs-Fixed: 689849
Change-Id: I753012d5ce9c5a788e75b4edf9b0099b58b30ec0
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
avtimer: msm: allow driver to register to SSR framework

Sub System Restart[SSR] framework allows driver to handle
unexpected crash in middle of operation.
Also, adding support clk_div dtsi entry to calculate
avtimer_lsw value.

Change-Id: I521e3c010dadd00a06a0fe8998a1759b2eb81b55
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
avtimer: msm: fix to avoid timejump in avtimer

In VT call, observe timestamp jump in avtimer
causing issue in camera timestamps.
By doing division with clk_div on avtimer tick,
timestamp is calculate correctly now.

Change-Id: I8d1c8d162ee28b6430c9c2e6ca323e212bacfbf2
CRs-Fixed: 726296
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
avtimer: avoid timer query from clients during SSR

Update AV timer driver to schecdule a workqueue to
make sure the ADSP on modem is up while honouring the
requests from client for timer query.

Change-Id: I3c3283e778c836fce1a68cf8a5dc439124ef2f1f
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Enable NEED_NETDEV for vendor command support.

The Vendor command needs to have the NEED_NETDEV internal flag set
for the corresponding vendor_cmd function to initialize correctly
and call the vendor subcommand specific doit function.

Change-Id: Icc46438dc9467fe0344cb832633c49466e2d20d0
CRs-fixed: 633799
Signed-off-by: Subhani Shaik <subhanis@codeaurora.org>
Merge "USB: gadget: f_rndis: Add check before queuing notification available"
Merge "ASoC: msm: reorg q6core header file"
Merge "avtimer: msm: allow driver to register to SSR framework"
Merge "avtimer: msm: fix to avoid timejump in avtimer"
Merge "avtimer: avoid timer query from clients during SSR"
Merge "Enable NEED_NETDEV for vendor command support."
Merge 40c4386ae23b0744f2dc737ebaa6e5253236455e on remote branch

Change-Id: Ib48cbf9ace881835cb1c1413d394898536a5c246
Merge "Merge 40c4386ae23b0744f2dc737ebaa6e5253236455e on remote branch"