During device probe error, ensure release supplies
as part of cleanup resources before exit.
Change-Id: Iaf173863d34de3d2151d5fa3c99cf65421e4d2f8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
In one of failure for swrm probe, swr unregister
is not done causing crash. swr unregister device
in respective error case.
Change-Id: Idbf50b2ae1d66eafa1db8dbbd386db7982c3b0f8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
In unified compander, update path_gain to use
upper_gain_int value.
Change-Id: Ibe616eb1cab223cc855e817c5ca09579af9ddfb9
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
In soundwire version 1.7, rx soundwire port2/3
are extended to 32bits to use as PCM port too.
When using for PDM port as well, need to ungate
the ports for functionality to work.
Change-Id: I1815a9337ab21e0000ca7dbfeaac4c01dadec0dc
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Add LOCAL_SRC_FILES in Android.mk to make sure
audio drivers are recompiled during incremental build.
Change-Id: I80b6cecd0e805ae5d019b946fea88043f1961123
Signed-off-by: Meng Wang <mengw@codeaurora.org>
It was found that sending GPR command before audio process
domain can lead to deadlock in ADSP. Reinstate the check to
send GPR command only when gpr-lite is informed that process
domain is up.This reverts commit
2922723c6f.
Change-Id: I8076dc053c2d7c5b84bdafa2feb35462b2309227
Update dai link init functions of wsa and rx_tx codecs.
Update late probe function to use backend name to search for
pcm runtime.
Change-Id: Ia082ac233e61a28e76600977a024821689f8a218
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Update register definition for soundwire multi execution enviroment
to keep soundwire peripheral devices in clock stop mode when not
in use.
Change-Id: I3615d0dc7381df414b1fb9414d24cef921883668
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Update the parent handle for event notification to receive
event notification from digital codec.
Change-Id: Ia67814eee4e0a4703c2fde6db7942757bcc2ba2d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add support for second instance of WSA speaker amplifier.
Change-Id: Ia0a19d86f2fdc7a4b3b42812ccba23bbf05bd6b4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
It was found that kernel crashes due to device linked list corruption
when soundwire controller driver tries to register soundwire peripheral
device. This is due to error handling logic does not remove device which
fails to register from device linked list maintained by soundwire
controller driver.
Change-Id: I0bb52bbc11bc4535f22c0490edb9c4aee48050dc
Signed-off-by: Patrick Lai <plai@codeaurora.org>
Add control to set VMAX to adjust different vibrator
setting from userspace.
Change-Id: I7300e4f0ae57e403c8fc79db38598946289effb6
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Since msm_ext_display.h was moved to a new place, so using the
new place to include it.
Change-Id: Ia506263996c0f5c088a43d46a1541f75489dd5e3
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Added dai link component definitions and dai links for mi2s/tdm
interfaces from primary to senary.
Change-Id: I7ea414e10180acce510375c671570b5a2062a9bd
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Remove bcl decode registers and add new central broadcast
decode registers.
Enable the new central broadcast (CB) block registers during usecase
start and request for bcl data inorder to receive current bcl events.
Change-Id: I4c626e5083328b4cfdb5c956695078985b5c54a5
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Add dai link to enable speaker playback on four smart speaker amplifiers.
Change-Id: Ie8c875ba0724a80e61f1a1f21d615a3f2fcfbe5a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
update SOC_SINGLE_MULTI_EXT to byte control for IIR mixer controls.
Change-Id: I94f09b9dd26e4da8a307e0add22634e2ab15aa66
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Update LPASS digital codec driver name for proper enumeration.
Change-Id: Ied6a3697a5e47c0695b6339ec7b4b4561ef6ccbd
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Update codec driver dai link names for proper enumeration of
dai links during sound card enumeration.
Change-Id: I91630f60647c83095bc979b09aad1b273b44f71c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>