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

Commit 70e2735b authored by Naveen Kumar's avatar Naveen Kumar
Browse files

hal: fix compilation error for 8952 hal

Fix 'idx' undeclared

Change-Id: I647d74e63566403e2f3118e600d50cc22b402655
parent a55b4b5e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1237,6 +1237,10 @@ void *platform_init(struct audio_device *adev)
    const char *snd_card_name;
    char mixer_xml_path[100],ffspEnable[PROPERTY_VALUE_MAX];
    char *cvd_version = NULL;
    int idx;

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

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