Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d7b38a0 authored by Xiaojun Sang's avatar Xiaojun Sang Committed by Gerrit - the friendly Code Review server
Browse files

hal: remove HAL access to channel number mixer control

Channel number is hardware-specific and defined by mixer paths.
With access to channel mixer control, HAL would overwrite the
correct channel number. Disallowing HAL makes mixer paths value
take place.

Change-Id: I01de2dd5d3cb85b1b3cf8949feb1d8914ee4a298
parent 180e00bc
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -3361,8 +3361,6 @@ acdb_init_fail:
        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");
@@ -3487,8 +3485,6 @@ acdb_init_fail:
        strdup("USB_AUDIO_TX SampleRate");
    my_data->current_backend_cfg[USB_AUDIO_TX_BACKEND].channels_mixer_ctl =
        strdup("USB_AUDIO_TX Channels");
    my_data->current_backend_cfg[DEFAULT_CODEC_BACKEND].channels_mixer_ctl =
        strdup("SLIM_0_RX Channels");
    my_data->current_backend_cfg[SLIMBUS_0_TX].bitwidth_mixer_ctl =
        strdup("SLIM_0_TX Format");
    my_data->current_backend_cfg[SLIMBUS_0_TX].samplerate_mixer_ctl =