mavs: fixed avs file playback failure problem [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Thu, 1 Oct 2020 03:27:40 +0000 (11:27 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Tue, 17 Nov 2020 13:09:00 +0000 (05:09 -0800)
commit2755c8bee8ab82c214a9d6c68f9446f7eb5a453f
tree09be03df1bab75419343d0bf525b8f5ef233ef9a
parent6ec6e4318d7767d224385b610268716fa7220f42
mavs: fixed avs file playback failure problem [1/1]

PD#SWPL-29847

Problem:
using devm_kzalloc funciton cann't allocate
memory(There is no physical continuous memory
of this size), causing playback fail.

Solution:
Use vzalloc to allocate memory to solve this
problem.

Verify:
AH212

Change-Id: If5bb8bf358d8c65bb27699a591477d50f8d1fee5
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
drivers/frame_provider/decoder/avs_multi/avs_multi.c