[PATCH] staging: media: meson: fix typo in codec files

From: Maha Maryam Javaid

Date: Fri May 08 2026 - 01:58:13 EST


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 */
--
2.34.1