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

Commit 8d5630aa authored by Murthy Nidadavolu's avatar Murthy Nidadavolu Committed by Gerrit - the friendly Code Review server
Browse files

media/dvb: sdmx dma buffer va correctly assigned with base virtual


address

Fixes the CMA buffer leak issue while changing more than ~36 channels

Change-Id: I82de26521b8c33ae0ce8d55c434e9bfd6476853b
Signed-off-by: default avatarMurthy Nidadavolu <mnssr@codeaurora.org>
parent 3734c515
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1725,6 +1725,7 @@ static int mpq_sdmx_alloc_data_buf(struct mpq_feed *mpq_feed, size_t size)
	}
	desc->size = size;
	dvb_ringbuffer_init(&mpq_feed->sdmx_buf, desc->virt_base, size);
	mpq_feed->sdmx_dma_buff.va = desc->virt_base;

	return 0;
}