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

Commit 57215122 authored by Kunlei Zhang's avatar Kunlei Zhang Committed by Gerrit - the friendly Code Review server
Browse files

hal: update is_stereo_spkr for bengal qrd

Set is_stereo_spkr to false for bengal qrd.

Change-Id: I0c3a0196ccdfc1f5a096341e5a75cc2f3339811c
parent 20c978ad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -555,6 +555,10 @@ static void update_hardware_info_kona(
                 sizeof("lito-qrd-snd-card"))) {
        strlcpy(hw_info->name, "lito", sizeof(hw_info->name));
        hw_info->is_stereo_spkr = false;
    } else if (!strncmp(snd_card_name, "bengal-qrd-snd-card",
                 sizeof("bengal-qrd-snd-card"))) {
        strlcpy(hw_info->name, "bengal", sizeof(hw_info->name));
        hw_info->is_stereo_spkr = false;
    } else {
        ALOGW("%s: Not a kona device", __func__);
    }