commit | d0a9dd726098a34d1fd4d1dae41ec56cfdbdfbe6 | [log] [tgz] |
---|---|---|
author | Maheshwar Ajja <majja@codeaurora.org> | Sat Sep 30 12:57:51 2017 -0700 |
committer | Maheshwar Ajja <majja@codeaurora.org> | Mon Oct 02 11:48:20 2017 -0700 |
tree | 90f7a8921a76bdf1e51881a48e62fd8393a554d6 | |
parent | d14a930f86d85cfefe1e0207d46e037ffd2a30ee [diff] |
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>