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>
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 "Merge "Enable NEED_NETDEV for vendor command support.""
Merge 50588d0e317ea8d27ef99011cfccb87d79abcef9 on remote branch

Change-Id: I41339da7dd8d53cb53558454a294be081c2fe13c
Merge "Merge 50588d0e317ea8d27ef99011cfccb87d79abcef9 on remote branch"