mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
decoder: fixed build err for buildroot. [1/1]
PD#SWPL-1909 Problem: fixed build err for builroot. Solution: fixed build err for builroot. Verify: p321 Change-Id: Ib470b9299abd853e8dbf4e4f91e56c8b8544a430 Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
This commit is contained in:
@@ -169,12 +169,12 @@ static int vframe_chunk_fill(struct vdec_input_s *input,
|
||||
if (chunk->pading_size > len) {
|
||||
p = (u8 *)block->start_virt;
|
||||
|
||||
if (!block->is_mapped) {
|
||||
p = codec_mm_vmap(block->start, count - len);
|
||||
memset(p, 0, count - len);
|
||||
codec_mm_unmap_phyaddr(p);
|
||||
} else
|
||||
memset(p, 0, count - len);
|
||||
if (!block->is_mapped) {
|
||||
p = codec_mm_vmap(block->start, count - len);
|
||||
memset(p, 0, count - len);
|
||||
codec_mm_unmap_phyaddr(p);
|
||||
} else
|
||||
memset(p, 0, count - len);
|
||||
|
||||
dma_sync_single_for_device(get_vdec_device(),
|
||||
block->start,
|
||||
|
||||
Reference in New Issue
Block a user