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

Skip to content
Commit 99f02356 authored by Vinay Kalia's avatar Vinay Kalia Committed by Stephen Boyd
Browse files

msm: vidc: Fix scratch buffer allocation.



In some cases, firmware is reqesting driver
to allocate one scratch with size zero,
eg: if height and width is set to zero on
firmware. This change handles this scenario
appropriately to avoid kernel panic.

Change-Id: If670f91ef600678af8e246934f685defcb7fdfeb
Signed-off-by: default avatarVinay Kalia <vkalia@codeaurora.org>
parent 1d14fe63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment