ASoC: wcd9xxx: Notify mbhc when TX1/IN1 path is enabled

Notification is sent to mbhc whenever TX1/IN1 path is used
for audio capture. MBHC then will switch to VDDIO if headset
is inserted. This is to avoid polling noise that gets captured
in the recorded audio due to noise coupling in hardware b/w
TX2 and TX1 paths.

Change-Id: Iac40f41572d1417d2afdc55438d86c047710824f
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
ASoC: wcd9xxx: modify sequence post SSR

Perform mux configuration before MBHC init.
Otherwise, MLCK will not be enabled which results
in wrong initial calibration of dce and sta.
Updating the mux configuration for class h dsm mux
during codec bring up after ssr is causing the
widget not to be powered up as the dapm sees no
change in the register associated with it. The change
ensures the mux register is not updated post SSR.

Change-Id: I4d181de29816d51b0a70b82bd057256844d34387
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
Revert "ASoC: wcd9320: Fix potential null pointer dereference"

This reverts commit b0165d0c5e461517f71fcb8d4619efa043ce0521.
ASoC: wcd9320: Fix DAPM timeout when accesing MAD calibration (FIX)

request_firmware called by MAD configuration requires
user space daemon to locate MAD codec calibration data.
When system is in suspend state either due to sleep or
user space daemon not ready or filesystem is down then
it needs be up briefly before accesing the codec
calibration data. This change fixes the accesing the
codec calibration data by codec when in suspend state.

Crs-Fixed: 609223
Change-Id: Id2d87363276619c9bd841ee335dc92c58bcc27c0
Signed-off-by: Venkat Sudhir <vsudhir@codeaurora.org>
slimbus: Cleanup dev_list when device is removed

Remove a device's list-entry from controller's
device-list when that device is removed.

Signed-off-by: Naveen Kaje <nkaje@codeaurora.org>
Change-Id: I068bf34b6692dad33332f4b9baf49e768f5b2736
slim_msm: Handle ADSP SSR gracefully for apps-owned data channels

Usually the data channels are owned by codec, or by ADSP itself. If
apps itself is involved in data-transfer on the channels, make sure
the BAM pipes, or the port-registers in question are not accessed
while ADSP is restarting.

Change-Id: I9476c7389dbf89d902f0ef6572f3f755f0575f7b
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
ngd_slim: Ignore pm_runtime_get error when runtime-pm is not enabled

Controller power-up uses different code-path when runtime-pm is not
enabled.

Change-Id: Ibe2f119fd8f43edb657f8f623879dea4730811f4
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
slim_msm: support non-blocking writes from slimbus MSM controller

Provide non-blocking write support so that clients can queue multiple
writes, or larger transfers without performance implications.
TX buffer is created and descriptors out of this buffer
are submitted to HW to transmit data.
Descriptor is returned to 'available' pool of TX buffer when HW
interrupt for transmission status is recieved.

Change-Id: Icc2af6bf4f770c8cadb9bd2ef7be0f95eb22c5d8
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
msm: kgsl: Wake up GPU only for touch events

Register the KGSL input event handler only for
touch input events to make sure input event handler
is called only for touch input events.

Change-Id: I68938fbbf870bd3bce83cb057b504674753d6de8
Signed-off-by: Ananta Kishore K <akollipa@codeaurora.org>
synaptics_dsx: Fix manual fw updates

Clear the update-related memory structures after the automated
update run from boot, so that manual updates don't trip on incompatible
data

Change-Id: Ie7e637b65f93af0fb2ffecc97e48f253a04056ca
input: touchscreen: Update TP firmware to 14001221

Change-Id: I75e1d932a5f3df7055420a07449fa1219d0036c5
Revert "ASoC: msm-lsm-client: Handle close gracefully"

This reverts commit 401904a29760a7a8e93d79aeb25d51b86ee38d5e.
Revert "ASoC: msm: qdsp6v2: avoid null pointer dereference"

This reverts commit ed1a73d224f2fbf7eb0f4e3d31282f72b3873b3d.
Revert "ASoC: core: Add compat ioctl support for listen driver"

This reverts commit 3094e977c7840159bccf1102824dc23c832137c1.
Revert "ASoC: msm: qdsp6v2: Fix event status issue for Sound Model V1"

This reverts commit 5ece66503e61768811db8148913d38a469a65daf.
Revert "ASoC : msm: Add IOCTL for Listen LookAhead Buffering"

This reverts commit 8c04f2e6ed27eb07544a2d6caa9a88f68bc2538b.
Revert "ASoC: msm: Add MultiKeyword support for Listen"

This reverts commit 9ad69f5d5c61ce2b77525cea96e7a1e1a148f1f3.
Merge pull request #37 from AuxXxilium/exp

hey snapdragon and cm sync