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

Unverified Commit a13716ef authored by Benjamin Legrand's avatar Benjamin Legrand Committed by Michael Bestas
Browse files

hal: Support the msm8939-florida-snd-card.

Moto X Play needs this set.

Change-Id: Id4a1f2f0b8405cacd6edfa907f4441119060bd88
parent a4f78a39
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -233,6 +233,12 @@ static int update_hardware_info_8x16(struct hardware_info *hw_info, const char *
        hw_info->snd_devices = NULL;
        hw_info->num_snd_devices = 0;
        strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn));
    } else if (!strcmp(snd_card_name, "msm8939-florida-snd-card")) {
        strlcpy(hw_info->type, "florida", sizeof(hw_info->type));
        strlcpy(hw_info->name, "msm8939", sizeof(hw_info->name));
        hw_info->snd_devices = NULL;
        hw_info->num_snd_devices = 0;
        strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn));
    } else {
        ALOGW("%s: Not an  8x16/8939/8909 device", __func__);
        return -ENODEV;