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

Commit 460cc666 authored by Vidyakumar Athota's avatar Vidyakumar Athota
Browse files

hal: use mono speaker for pahu codec variants

Set is_stereo_spkr flag to false for pahu audio codec
variants in msmnile target.

Change-Id: I39018bd9253e5621eea674c95c5fea43c8774054
parent 41b1ef43
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -437,6 +437,9 @@ static void update_hardware_info_msmnile(struct hardware_info *hw_info, const c
        hw_info->num_snd_devices = ARRAY_SIZE(pahu_qrd_variant_devices);
        hw_info->is_stereo_spkr = false;
        strlcpy(hw_info->dev_extn, "-qrd", sizeof(hw_info->dev_extn));
    } else if (strstr(snd_card_name, "pahu")) {
        strlcpy(hw_info->name, "msmnile", sizeof(hw_info->name));
        hw_info->is_stereo_spkr = false;
    } else {
        ALOGW("%s: Not a msmnile device", __func__);
    }