Set enable/disable flag properly before sending the clk request
to ADSP in MI2S slave mode.
Change-Id: I4a145b1765b19b2eb708a52a35b51032f540fb2d
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Update max channels supported for TDM ports from 8 to 16.
Change-Id: I3d3b42983fff22e0102b9eb2aaca1a5698820605
Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
Enable digital_mute for SLIMBUS_0_RX to support
excursion logging feature.
Change-Id: Icc64f5fdf245c4239683872ff65a1f2fa6dc88e2
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
Tinymix set the array value of the mixer control one by one. The
channel number validation check here will cause failure in tinymix.
Allow 0 value here is fine because the parameters will be checked
before they are set at runtime.
Change-Id: I49c23f84aa081550434696dde96d2800e90390fb
Signed-off-by: Erin Yan <xinyey@codeaurora.org>
In split A2DP sink ADM channels is set to mono based
on BE config. Add support to set ADM channels based
on decoder config received from BT IPC library.
Change-Id: I3925b805593871d420f4cfd3ce4b87adb0e03272
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Currently only Compress2 stream is using hw params as async ops
and hence the startup latency and setup sequence varies for this
usecase as compared to other compress playback streams.
Update qcs405 compress playback dai ops to mark hw params as async
for all compress playback FE dai entries, so that all compressed
playback streams have uniform latency and setup sequence.
Change-Id: Iac965b0ca1c059c49b9b0a985f70df7d382f7446
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
Add mixer control for AFE loopback for
External Modem based Voice call support.
Change-Id: I379187b9b013a9c97cce3eab6a5a254e102d5ef2
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
Defer codec macro probes if soundwire pins are not
ready to be accessed yet during boot up.
Change-Id: I20173e49043a076d73cdbb811863afbff87d4a3b
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Micb lock which is used to synchronize micbias
control api is not initialized causing spin lock
errors. Initialize the mutex to avoid the issue.
Change-Id: I98c50fec8e8531333de643a85433d3e5973bfd14
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Fix the volatile register function to return false
if the registers are not volatile so that the reads
will happen from cache and this improves read timing.
Change-Id: I73149be3855be09a71ad61a6f3143038a7ba029b
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Handle PDM watchdog interrupt. Enable watchdog
before analog PA is enabled and disable it
after analog PA is disabled so as to prevent false alarms.
Change-Id: Id45dee1a150c471d1bb29b9bfed9f416b8454a5f
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add updates to AUX control registers and headphone
and ear path power mode registers.
Change-Id: I7a6b0f23a28a6ab9189c946a78a2f376937d7509
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add codec enable and disable sequences for class ab
low power modes.
Change-Id: If5b54075985c2d4d1a24423c03e78bee119862bc
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Remove extra semi-colon from wsa_macro_set_spkr_gain_offset to
avoid compile error when wsa-macro is disabled.
Change-Id: Ic94e78822639d70a365c714ad7dd0b2091de8179
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add changes to support disabling of soundwire devices
so that soundwire pins can be freed for other purposes
if needed.
Change-Id: Iae14d43c2c3d5380347be4c3b443c209b2612a97
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
'TWS Channel Mode' is missed due to afe_enc_config_controls
size changed.
Change-Id: Id6a08a7b360364bc94a6786f967ccc191666cefe
Signed-off-by: Zhou Song <zhous@codeaurora.org>
After SSR/PDR, the lpass clocks will be in off state. Force restart
clocks after SSR/PDR, if enabled before SSR/PDR, to reenable the clocks.
Change-Id: I3d850d92bdc6324aa7a64a83a9066f388a85c7f7
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Update wsa aux codec matching logic in machine driver
to apply proper gain settings for wsa8810 variant.
Add null check for aux component name to avoid dereference.
Change-Id: Ie332f8e37a2d6b7a250fe299df91fa9cf9d7636b
Signed-off-by: Meng Wang <mengw@codeaurora.org>