[PATCH] video: fbdev: via: dvi.c: Fix a typo

From: lijian_8010a29
Date: Thu Jun 03 2021 - 03:48:36 EST


From: lijian <lijian@xxxxxxxxxx>

Change 'diplay' to 'display'.

Signed-off-by: lijian <lijian@xxxxxxxxxx>
---
drivers/video/fbdev/via/dvi.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/drivers/video/fbdev/via/dvi.c b/drivers/video/fbdev/via/dvi.c
index 13147e3066eb..ba1d9dbda99a 100644
--- a/drivers/video/fbdev/via/dvi.c
+++ b/drivers/video/fbdev/via/dvi.c
@@ -398,8 +398,10 @@ void viafb_dvi_enable(void)
if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266)
tmds_register_write(0x88, 0x3b);
else
- /*clear CR91[5] to direct on display period
- in the secondary diplay path */
+ /*
+ * clear CR91[5] to direct on display period
+ * in the secondary display path
+ */
via_write_reg_mask(VIACR, 0x91, 0x00, 0x20);
break;

@@ -411,8 +413,10 @@ void viafb_dvi_enable(void)
if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266)
tmds_register_write(0x88, 0x3b);
else
- /*clear CR91[5] to direct on display period
- in the secondary diplay path */
+ /*
+ * clear CR91[5] to direct on display period
+ * in the secondary display path
+ */
via_write_reg_mask(VIACR, 0x91, 0x00, 0x20);

/*fix DVI cannot enable on EPIA-M board */
--
2.25.1