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

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

Merge "ASoC: msm: Fix invalid pdata access after kfree"

parents 22369c78 8ef04e00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2909,9 +2909,9 @@ err:
		gpio_free(pdata->hph_en0_gpio);
		pdata->hph_en0_gpio = 0;
	}
	devm_kfree(&pdev->dev, pdata);
	if (pdata->snd_card_val != INT_SND_CARD)
		msm_ext_cdc_deinit(pdata);
	devm_kfree(&pdev->dev, pdata);
	return ret;
}