Re: [PATCH][next] media: mediatek: vcodec: fix spelling mistake "resonable" -> "reasonable"

From: Nicolas Dufresne
Date: Mon Aug 21 2023 - 11:15:08 EST


Le mardi 15 août 2023 à 13:14 +0100, Colin Ian King a écrit :
> There are a couple of spelling mistakes in pr_err error messages. Fix them.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Reviewed-by: Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>

> ---
> .../media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c | 2 +-
> .../media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c b/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c
> index 9e744d07a1e8..6bbe55de6ce9 100644
> --- a/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c
> +++ b/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c
> @@ -68,7 +68,7 @@ struct mtk_vcodec_fw *mtk_vcodec_fw_scp_init(void *priv, enum mtk_vcodec_fw_use
>
> plat_dev = dec_dev->plat_dev;
> } else {
> - pr_err("Invalid fw_use %d (use a resonable fw id here)\n", fw_use);
> + pr_err("Invalid fw_use %d (use a reasonable fw id here)\n", fw_use);
> return ERR_PTR(-EINVAL);
> }
>
> diff --git a/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c b/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c
> index 5e03b0886559..9f6e4b59455d 100644
> --- a/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c
> +++ b/drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c
> @@ -109,7 +109,7 @@ struct mtk_vcodec_fw *mtk_vcodec_fw_vpu_init(void *priv, enum mtk_vcodec_fw_use
> plat_dev = dec_dev->plat_dev;
> rst_id = VPU_RST_DEC;
> } else {
> - pr_err("Invalid fw_use %d (use a resonable fw id here)\n", fw_use);
> + pr_err("Invalid fw_use %d (use a reasonable fw id here)\n", fw_use);
> return ERR_PTR(-EINVAL);
> }
>