diff mbox series

media: platform: exynos4-is: Fix spelling mistake "palne" -> "plane"

Message ID 20221208115847.2433777-1-colin.i.king@gmail.com (mailing list archive)
State Accepted
Commit 6262e80228df0974f6342ac2324d7bcfd319956b
Headers show
Series media: platform: exynos4-is: Fix spelling mistake "palne" -> "plane" | expand

Commit Message

Colin Ian King Dec. 8, 2022, 11:58 a.m. UTC
There are spelling mistakes in a literal string and a comment. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c | 2 +-
 drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Alim Akhtar Dec. 8, 2022, 2:14 p.m. UTC | #1
>-----Original Message-----
>From: Colin Ian King [mailto:colin.i.king@gmail.com]
>Sent: Thursday, December 8, 2022 5:29 PM
>To: Sylwester Nawrocki <s.nawrocki@samsung.com>; Mauro Carvalho
>Chehab <mchehab@kernel.org>; Krzysztof Kozlowski
><krzysztof.kozlowski@linaro.org>; Alim Akhtar <alim.akhtar@samsung.com>;
>linux-media@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-
>samsung-soc@vger.kernel.org
>Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
>Subject: [PATCH] media: platform: exynos4-is: Fix spelling mistake "palne" ->
>"plane"
>
>There are spelling mistakes in a literal string and a comment. Fix them.
>
>Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
>---

Thanks!

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>


> drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c | 2 +-
>drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
>b/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
>index 5d9f4c1cdc5e..7a48fad1df16 100644
>--- a/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
>+++ b/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
>@@ -54,7 +54,7 @@ const char *fimc_is_param_strerr(unsigned int error)
> 	case ERROR_DMA_INPUT_ORDER:
> 		return "ERROR_DMA_INPUT_ORDER: Invalid order(DRC:
>YYCbCr,YCbYCr,FD:NO,YYCbCr,YCbYCr,CbCr,CrCb)";
> 	case ERROR_DMA_INPUT_PLANE:
>-		return "ERROR_DMA_INPUT_PLANE: Invalid palne (DRC: 3,
>FD: 1, 2, 3)";
>+		return "ERROR_DMA_INPUT_PLANE: Invalid plane (DRC: 3,
>FD: 1, 2, 3)";
> 	case ERROR_OTF_OUTPUT_WIDTH:
> 		return "ERROR_OTF_OUTPUT_WIDTH: Invalid width (DRC:
>128~8192)";
> 	case ERROR_OTF_OUTPUT_HEIGHT:
>diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h
>b/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h
>index 9dcbb9853ac0..809e117331c0 100644
>--- a/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h
>+++ b/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h
>@@ -156,7 +156,7 @@ enum fimc_is_error {
> 	ERROR_DMA_INPUT_BIT_WIDTH	= 34,
> 	/* invalid order(DRC: YYCbCrorYCbYCr,
>FD:NO,YYCbCr,YCbYCr,CbCr,CrCb) */
> 	ERROR_DMA_INPUT_ORDER		= 35,
>-	/* invalid palne (DRC: 3, FD: 1, 2, 3) */
>+	/* invalid plane (DRC: 3, FD: 1, 2, 3) */
> 	ERROR_DMA_INPUT_PLANE		= 36,
>
> 	ERROR_OTF_OUTPUT_NONE		= ERROR_COMMON_NONE,
>--
>2.38.1
diff mbox series

Patch

diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c b/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
index 5d9f4c1cdc5e..7a48fad1df16 100644
--- a/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
+++ b/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.c
@@ -54,7 +54,7 @@  const char *fimc_is_param_strerr(unsigned int error)
 	case ERROR_DMA_INPUT_ORDER:
 		return "ERROR_DMA_INPUT_ORDER: Invalid order(DRC: YYCbCr,YCbYCr,FD:NO,YYCbCr,YCbYCr,CbCr,CrCb)";
 	case ERROR_DMA_INPUT_PLANE:
-		return "ERROR_DMA_INPUT_PLANE: Invalid palne (DRC: 3, FD: 1, 2, 3)";
+		return "ERROR_DMA_INPUT_PLANE: Invalid plane (DRC: 3, FD: 1, 2, 3)";
 	case ERROR_OTF_OUTPUT_WIDTH:
 		return "ERROR_OTF_OUTPUT_WIDTH: Invalid width (DRC: 128~8192)";
 	case ERROR_OTF_OUTPUT_HEIGHT:
diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h b/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h
index 9dcbb9853ac0..809e117331c0 100644
--- a/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h
+++ b/drivers/media/platform/samsung/exynos4-is/fimc-is-errno.h
@@ -156,7 +156,7 @@  enum fimc_is_error {
 	ERROR_DMA_INPUT_BIT_WIDTH	= 34,
 	/* invalid order(DRC: YYCbCrorYCbYCr, FD:NO,YYCbCr,YCbYCr,CbCr,CrCb) */
 	ERROR_DMA_INPUT_ORDER		= 35,
-	/* invalid palne (DRC: 3, FD: 1, 2, 3) */
+	/* invalid plane (DRC: 3, FD: 1, 2, 3) */
 	ERROR_DMA_INPUT_PLANE		= 36,
 
 	ERROR_OTF_OUTPUT_NONE		= ERROR_COMMON_NONE,