msm: vidc: Validate buffer size before mapping
Validate the buffer size returned from api ion_share_dma_buf()
with the actual buffer size before mapping the buffer using
api msm_dma_map_sg_attrs() to resolve video usecases failures.
CRs-Fixed: 2119739
Change-Id: I2427cccfbb5d6f0458e425342a81fa531df9ed76
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Loading
Please register or sign in to comment