[PATCH] staging: media: meson: fix typo in codec files
Nicolas Dufresne
nicolas at ndufresne.ca
Mon Sep 28 12:34:31 PDT 2026
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 at gmail.com>
> ---
> 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 */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20260928/16da0c7a/attachment.sig>
More information about the linux-amlogic
mailing list