ASoC: msm: qdsp6v2: check proxy port is open when closing

The current logic opens the afe proxy port only if the
proxy instance virtual port is opened. If only
pcm instance virtual port is opened and a close of the
afe proxy port is attempted, this causes the device to
crash due to a wait event timeout as the driver tries
to close an unopened afe port.
The change ensures that only if both the virtual ports
are opened, which in effect starts the proxy port,
the afe close commands for the proxy port is sent to DSP,
else return immediately.

Change-Id: I9450001c608208f3d8da22b2881a88db1c21d950
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
Merge "ASoC: msm: qdsp6v2: check proxy port is open when closing"
msm:camera: Bus overflow recovery mechanism

Add bus overflow recovery mechanism in the isp driver.
When the bus overflow happens we will halt the bus,
reset the isp and burst count and restart the stream.

Change-Id: I7a1a4e1c28e346036405db4ce9a2362109bd4f95
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
ASoC: msm: qdsp6v2: Fix memory corruption in ASM driver

During VoIP call if SSR happens there is no audio from the next call
onwards. Incorrect typecasting of void pointer causing memory corruption
in ASM driver resulting in aforementioned issue.

CRs-Fixed: 687854
Change-Id: Ib04b40b978c82e00fe78cc7b12122f2052fb14c1
Signed-off-by: Venkata Narendra Kumar Gutta <vgutta@codeaurora.org>
Merge "ASoC: msm: qdsp6v2: Fix memory corruption in ASM driver"
Merge "msm:camera: Bus overflow recovery mechanism"
platform: qpnp-power-on: add support for S3 source

Stage 3 (S3) reset is designed to recover the device
from unexpected hang-ups for the devices having
non-removable batteries. The source for S3
trigger is supplied from device tree data.

CRs-fixed: 606366
Change-Id: I32cc3dec4982b9ecade44663b5e02c71dec184d7
Signed-off-by: Bhargav Gurappadi <bhargavg1@codeaurora.org>
Merge "platform: qpnp-power-on: add support for S3 source" into LNX.LF.3.5.1_RB1.2