Re: [PATCH] staging: media: meson: fix typo in codec files
From: Nicolas Dufresne
Date: Mon Sep 28 2026 - 15:49:08 EST
Hi,
subject should have been "[PATCH v3] ...", already picked but wanted you know
know.
Nicolas
Le vendredi 08 mai 2026 à 10:57 +0500, Maha Maryam Javaid a écrit :
> Fix spelling mistake: substracted -> subtracted
>
> Signed-off-by: Maha Maryam Javaid <mahamaryamjavaid@xxxxxxxxx>
> ---
> Changes in v2:
> - Combined both meson typo fixes into a single patch
>
> drivers/staging/media/meson/vdec/codec_h264.c | 2 +-
> drivers/staging/media/meson/vdec/codec_mpeg12.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/media/meson/vdec/codec_h264.c b/drivers/staging/media/meson/vdec/codec_h264.c
> index 89e0f8624e5b..a6074de15118 100644
> --- a/drivers/staging/media/meson/vdec/codec_h264.c
> +++ b/drivers/staging/media/meson/vdec/codec_h264.c
> @@ -16,7 +16,7 @@
> #define SIZE_SEI (8 * SZ_1K)
>
> /*
> - * Offset added by the firmware which must be substracted
> + * Offset added by the firmware which must be subtracted
> * from the workspace phyaddr
> */
> #define WORKSPACE_BUF_OFFSET 0x1000000
> diff --git a/drivers/staging/media/meson/vdec/codec_mpeg12.c b/drivers/staging/media/meson/vdec/codec_mpeg12.c
> index 76e9ca7191ab..ab4374e3b2ef 100644
> --- a/drivers/staging/media/meson/vdec/codec_mpeg12.c
> +++ b/drivers/staging/media/meson/vdec/codec_mpeg12.c
> @@ -12,7 +12,7 @@
> #include "vdec_helpers.h"
>
> #define SIZE_WORKSPACE SZ_128K
> -/* Offset substracted by the firmware from the workspace paddr */
> +/* Offset subtracted by the firmware from the workspace paddr */
> #define WORKSPACE_OFFSET (5 * SZ_1K)
>
> /* map firmware registers to known MPEG1/2 functions */
Attachment:
signature.asc
Description: This is a digitally signed message part