hal: Add changes to send pspd coefficients during out_write
Add support to send matrix mixer coefficients in out_write
as older kernel version does not have support to save the
channel weightage values.
Add flag to check and resend matrix mixer coefficients during
device switch.
Change-Id: I8c8991b2b7bbfc60e300b9a965e4d488b2eabb8d
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 92b8bfb..279a2c2 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -3141,6 +3141,8 @@
strdup("SLIM_0_RX Format");
my_data->current_backend_cfg[DEFAULT_CODEC_BACKEND].samplerate_mixer_ctl =
strdup("SLIM_0_RX SampleRate");
+ my_data->current_backend_cfg[DEFAULT_CODEC_BACKEND].channels_mixer_ctl =
+ strdup("SLIM_0_RX Channels");
my_data->current_backend_cfg[DSD_NATIVE_BACKEND].bitwidth_mixer_ctl =
strdup("SLIM_2_RX Format");
@@ -9886,4 +9888,3 @@
{
return -ENOSYS;
}
-