diff options
Diffstat (limited to 'sound/soc/msm/sdm660-common.c')
-rw-r--r-- | sound/soc/msm/sdm660-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/msm/sdm660-common.c b/sound/soc/msm/sdm660-common.c index 5dc5bf9d1b3c..50ffbb980256 100644 --- a/sound/soc/msm/sdm660-common.c +++ b/sound/soc/msm/sdm660-common.c @@ -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; } |