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

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

Merge "mdss: mdp: secure buffer is unmaped without iommu attached"

parents 39a6ac3a e5625500
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -714,9 +714,10 @@ void mdss_mdp_data_free(struct mdss_mdp_data *data)
{
	int i;

	mdss_iommu_ctrl(1);
	for (i = 0; i < data->num_planes && data->p[i].len; i++)
		mdss_mdp_put_img(&data->p[i]);

	mdss_iommu_ctrl(0);
	data->num_planes = 0;
}