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"
ARM: dts: msm: add frequency to corner mappings for msm8226v2 and msm8926

Add frequency to corner mappings for turbo fuse corner frequencies in
1.2G and 1.4G speedbin tables which located at msm8226v2 and msm8926
clock-a7 device tree node.
1.2G/1.4G msm8226v2 and msm8926 parts can receive a dynamic quotient
adjustment to scale the CPR target quotient used for each corner, this
ensure these parts receive power saving when running at turbo
frequencies below the maximum possible turbo frequency.

CRs-Fixed: 597721
Change-Id: Ie5992361a79950614d9e2b04a6bfb373e26088a3
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Signed-off-by: Ke Liu <keliu@codeaurora.org>
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: add frequency to corner mappings for msm8226v2 and msm8926"
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"