]> git.baikalelectronics.ru Git - kernel.git/commitdiff
media: staging: media: hantro: Fix typos
authorSebastian Fricke <sebastian.fricke@collabora.com>
Sat, 26 Mar 2022 18:36:03 +0000 (19:36 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:19 +0000 (11:02 +0200)
Fix typos in comments within the Hantro driver.

Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/hantro_g2_hevc_dec.c
drivers/staging/media/hantro/hantro_hevc.c

index c524af41baf595672d816b01c76aed78fb397bf0..c0645e335fc97c68dc2d696bce06500b64f7fd67 100644 (file)
@@ -406,7 +406,7 @@ static int set_ref(struct hantro_ctx *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;
 
        /* Set up addresses of DPB buffers */
index b49a41d7ae9126ad28994e102105b2bf1124b57f..9c351f7fe6bd9be53f85b4eb5b43d0f5661eca0f 100644 (file)
@@ -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;
        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++) {
                if (hevc_dec->ref_bufs_poc[i] == poc) {
                        hevc_dec->ref_bufs_used |= 1 << i;