Commit d8f6f1c5 authored by Sebastian Fricke's avatar Sebastian Fricke Committed by Mauro Carvalho Chehab

media: staging: media: hantro: Fix typos

Fix typos in comments within the Hantro driver.
Signed-off-by: default avatarSebastian Fricke <sebastian.fricke@collabora.com>
Reviewed-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent a71eb602
...@@ -406,7 +406,7 @@ static int set_ref(struct hantro_ctx *ctx) ...@@ -406,7 +406,7 @@ static int set_ref(struct hantro_ctx *ctx)
set_ref_pic_list(ctx); set_ref_pic_list(ctx);
/* We will only keep the references picture that are still used */ /* We will only keep the reference pictures that are still used */
ctx->hevc_dec.ref_bufs_used = 0; ctx->hevc_dec.ref_bufs_used = 0;
/* Set up addresses of DPB buffers */ /* Set up addresses of DPB buffers */
......
...@@ -59,7 +59,7 @@ dma_addr_t hantro_hevc_get_ref_buf(struct hantro_ctx *ctx, ...@@ -59,7 +59,7 @@ dma_addr_t hantro_hevc_get_ref_buf(struct hantro_ctx *ctx,
struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec; struct hantro_hevc_dec_hw_ctx *hevc_dec = &ctx->hevc_dec;
int i; int i;
/* Find the reference buffer in already know ones */ /* Find the reference buffer in already known ones */
for (i = 0; i < NUM_REF_PICTURES; i++) { for (i = 0; i < NUM_REF_PICTURES; i++) {
if (hevc_dec->ref_bufs_poc[i] == poc) { if (hevc_dec->ref_bufs_poc[i] == poc) {
hevc_dec->ref_bufs_used |= 1 << i; hevc_dec->ref_bufs_used |= 1 << i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment