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

Commit c84f1f0f 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: update dev free call after io_unmap"

parents 30f27b6e a117c551
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2722,13 +2722,13 @@ static int msm8x16_asoc_machine_probe(struct platform_device *pdev)
	}
	return 0;
err:
	devm_kfree(&pdev->dev, pdata);
	if (pdata->vaddr_gpio_mux_spkr_ctl)
		iounmap(pdata->vaddr_gpio_mux_spkr_ctl);
	if (pdata->vaddr_gpio_mux_mic_ctl)
		iounmap(pdata->vaddr_gpio_mux_mic_ctl);
	if (pdata->vaddr_gpio_mux_pcm_ctl)
		iounmap(pdata->vaddr_gpio_mux_pcm_ctl);
	devm_kfree(&pdev->dev, pdata);
	return ret;
}