diag: dci: Do not update status if DCI support is not present

If same command is registered on multiple peripherals then
diag driver is returning wrong error status to client while
traversing the registration table. This patch does not update
the error status if DCI support is not present on that
peripheral.

CRs-Fixed: 683796
Change-Id: Ib0f7eb6e910998f616fd4105df0428ec59c334e5
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Merge "Merge "msm_bam_rmnet: Fix potential memory corruption""
msm: mdss: Avoid unclocked register access with dsi_event_thread

In the case when ESD status check fails with DSI ACK
errors, there is a chance of unclocked register access when
DSI_INTR_CTRL register is being set.

Change-Id: I629b4ec642a86369b6ed693bdc6f8b4260ec1f5d
Signed-off-by: Vineet Bajaj <vbajaj@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
msm: mdss: disable irq to enforce mutex within dsi_event_thread

Mdp spin lock is used in dsi_event_thread and in irq context.
Disable irq while holding spinlock to avoid context switching
into irq context and cause spinlock recursion

CRs-fixed: 652850
Change-Id: I4bd8cadb1f5d83acc7e866344b7585e7944e08ac
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Merge "Merge "power: qpnp-charger: update battery status when boost enabled""
Merge "Merge "msm: vidc: handle dynamic buffers in pendingq during flush""
Merge "diag: dci: Do not update status if DCI support is not present"
Merge "Merge "diag: dci: Do not update status if DCI support is not present""
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"
Merge "Merge "ASoC: msm: qdsp6v2: check proxy port is open when closing""
ARM: dts: msm: Limit DDR to 200MHz for APSS freVquency

For APSS frequency of 787MHz, DDR frequency still required to be at SVS of
BIMC frequency.

CRs-Fixed: 644461
Change-Id: If129291f544adec30792ca20bfbfefb44141ef53
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Merge "ARM: dts: msm: Limit DDR to 200MHz for APSS freVquency"
Merge "Merge "ARM: dts: msm: Limit DDR to 200MHz for APSS freVquency""
power: qpnp-charger: reset unsettled flag upon insertion

There could be a potential race between USB removal and userspace
code setting the input current settled property. A state where
USB was removed but input current settled property is set was observed.

Fix this by resetting input current settled property while USB is
inserted as well as USB removed.

Moreover prevent setting of this flag when USB is not present.

CRs-Fixed: 708352
Change-Id: I45196ce5ab0f7ad2b0ccefd33ba9d707f10aea55
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Merge "power: qpnp-charger: reset unsettled flag upon insertion"
Merge "Merge "power: qpnp-charger: reset unsettled flag upon insertion""
ASoC: msm: qdspv2: Fix junk characters in session name

Initialize MVM session name array to zero to avoid junk
characters at the end.

Change-Id: I441e5dbeb4052c937bb99f9c4c96a91c410db553
CRs-fixed: 702741
Signed-off-by: Karthik Reddy Katta <a_katta@codeaurora.org>
Merge "msm: mdss: Avoid unclocked register access with dsi_event_thread"
Merge "msm: mdss: disable irq to enforce mutex within dsi_event_thread"