ASoC:msm:Add support for Voice Features on SGLTE Call

- For every put command from userspace, flags related
to Voice Features (TTY,WV etc) are updated for both
Voice and SGLTE Sessions.
- Since either SGLTE or Voice Call will be active at any given
point of time, flags for both the sessions should be upated.

Change-Id: Iab9f3aa4938eabce7e81d59938a8ebd7a4119857
Signed-off-by: VidyaKumar Athota <vathota@codeaurora.org>

Conflicts:
	sound/soc/msm/msm-pcm-voice.c
Merge "Perf: Make L1 PMU IRQ name target independent"
Conflicts:
	arch/arm/kernel/perf_event_msm_krait.c
Merge "Perf: Change IRQ functions for CPU variants"
Merge "Perf: Add generic IRQ handlers for ARMv7 PMU's"
Merge "Perf: Let platforms decide IRQ request methods."
Conflicts:
	arch/arm/kernel/perf_event.c
	arch/arm/mach-msm/pmu.c
Merge "msm: Perf: Differentiate between L1 and L2 PMU IRQs"
Merge "Perf: Assign proper routine to free IRQ"
Merge "msm: perf: add debug patch logging framework"
Conflicts:
	arch/arm/mach-msm/perf_debug.c
Merge "Perf: Restore counter after powercollapse for generic ARM PMU's"
Merge "Perf: Toggle PMU IRQ when CPU's are hotplugged"
Conflicts:
	arch/arm/kernel/perf_event.c
Merge "Perf: Correct irq for CPU hotplug detection"
USB: mdm_bridge: Simplify data bridge suspend/resume path

Synchronous runtime PM API is used to increment the PM usage counter
in Tx path.  It means Tx data path will not race with interface suspend.
Remove "delayed" anchor which is meant for Tx requests, that are arrived
during suspend.  There is no point in distinguishing auto suspend and
system wide suspend.  Abort suspend when we have pending Tx URBs.

CRs-Fixed: 451414
Change-Id: I302b120ccecfe30db1ebd2b1fcd9945a3675cf83
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
USB: mdm_bridge: Fix control bridge suspend

The current code does not abort suspend when there are pending URBs.
They are simply killed during suspend. This may lead to QMI stall.
Add proper checks to ensure that there is no pending Tx/Rx data
during suspend.  Clear the "SUSPENDED" flag in resume only after
taking out all the URBs from "tx_deferred" anchor.

CRs-Fixed: 451414
Change-Id: Icc48afc5eeedcc126d0ab1bec951bde4a53ac165
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
USB: Rate limit adb open and release messages

The print messages are helpful in debugging adb stability issues.
However they get flooded if adb daemon is restarted continuously.
If serial console is enabled this is leading to watchdog bark.

CRs-Fixed: 456662
Change-Id: I1381d44b7a5081ee04053c739b9c83111b191125
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
USB: android: Rate limit android enable warning

An error message is printed when user space tries to enable/disable
android configuration when it is already enabled/disabled.  This
message is helpful in debugging USB composition issues.  However
this message is getting flooded in an error condition.  If serial
console is enabled, it is leading to watchdog bark.

CRs-Fixed: 457725
Change-Id: I2d61ac46ba3c8464bada23a64ad0d8027a4adfe9
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
arm: common: move cpaccess sysfs node

cpaccess uses sysdev which is being deprecated.
Move the cpaccess node out of the /sys/devices/system
directory to /sys/devices. Temporarily leave the original
sysdev node for migration purposes, until userspace
applications can be moved to the new node.

Change-Id: Iacc776968f892fc6c6463764e576d987e4371716
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
msm: display: Add DSI clock control for MDP GDHS power collapse

Enable DSI clock and regulator before enabling/disabling power collapse
for MDP GDHS.

(cherry picked from commit ad3200279e62eff01fd1bb9136cc9c0d11e10380)

(cherry picked from commit 58c5992c710df379e26bb210e00c74da501db9d2)

Change-Id: I76b91260c61abf214e688c0dea6989ed2cfa3801
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/board-8064-regulator.c

Signed-off-by: Dhivya Subramanian <dthiru@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/board-8064-regulator.c
	drivers/video/msm/mdp.c
Merge "msm: camera: Update debug data in vfe driver"
ASoC: wcd9310: Reset OTHR_RESET_CTR before power down

There is a missing step to clear OTHR_RESET_CTR before power down.
It could cause a glitch and power hit without it. It has to be reset.

original gerrit is https://review-android.quicinc.com/#/c/191312/
This is cherry-pick gerrit by developer to jb_2.5

Change-Id: Id96070352480be6ea412844d4f71765e2df76afe
CRs-fixed: 420142
Signed-off-by: Fred Oh <fred@codeaurora.org>
msm: ipc: Fix the logic while dumping IPC Router routing table info

IPC Router Routing table is organized as a hash table. The routing
table information is dumped based on the index into that hash table.
Update the logic to dump the routing table information based on the
subsystem's node id.

Change-Id: Ideaf24934b93349e2f2cf1d695d08841c04aa5f9
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>