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

Commit f0dc80f9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: fix compilation error for 8952 hal"

parents 23a6890b 70e2735b
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -1237,6 +1237,10 @@ void *platform_init(struct audio_device *adev)
    const char *snd_card_name;
    const char *snd_card_name;
    char mixer_xml_path[100],ffspEnable[PROPERTY_VALUE_MAX];
    char mixer_xml_path[100],ffspEnable[PROPERTY_VALUE_MAX];
    char *cvd_version = NULL;
    char *cvd_version = NULL;
    int idx;

    my_data = calloc(1, sizeof(struct platform_data));

    if (!my_data) {
    if (!my_data) {
        ALOGE("failed to allocate platform data");
        ALOGE("failed to allocate platform data");
        return NULL;
        return NULL;