diff options
| author | Hemanth Selam <hemanth.selam@gmail.com> | 2026-09-12 18:32:00 +0200 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-09-15 09:19:54 +0200 |
| commit | 99258ee054433a197a0798816464262740eb403b (patch) | |
| tree | 40c109a47c178d30278b6450531dc8cdea74e4e9 | |
| parent | 38fbd7466eb1b50006cec847e2f9f5dbcd8d70da (diff) | |
| download | linux-next-99258ee054433a197a0798816464262740eb403b.tar.gz linux-next-99258ee054433a197a0798816464262740eb403b.zip | |
fbdev: viafb: fix typos in comments
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
| -rw-r--r-- | drivers/video/fbdev/via/dvi.c | 6 | ||||
| -rw-r--r-- | drivers/video/fbdev/via/hw.c | 2 | ||||
| -rw-r--r-- | drivers/video/fbdev/via/viafbdev.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/fbdev/via/dvi.c b/drivers/video/fbdev/via/dvi.c index 27990a73bfa3..845f51322697 100644 --- a/drivers/video/fbdev/via/dvi.c +++ b/drivers/video/fbdev/via/dvi.c @@ -399,7 +399,7 @@ void viafb_dvi_enable(void) tmds_register_write(0x88, 0x3b); else /*clear CR91[5] to direct on display period - in the secondary diplay path */ + in the secondary display path */ via_write_reg_mask(VIACR, 0x91, 0x00, 0x20); break; @@ -407,12 +407,12 @@ void viafb_dvi_enable(void) if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) viafb_write_reg_mask(CR93, VIACR, 0x21, BIT0 + BIT5); - /*fix dvi cann't be enabled with MB VT5718C4 - Al Zhang */ + /* fix dvi can't be enabled with MB VT5718C4 - Al Zhang */ 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 */ + in the secondary display path */ via_write_reg_mask(VIACR, 0x91, 0x00, 0x20); /*fix DVI cannot enable on EPIA-M board */ diff --git a/drivers/video/fbdev/via/hw.c b/drivers/video/fbdev/via/hw.c index 66afd7be00cc..e9d0fac8fb17 100644 --- a/drivers/video/fbdev/via/hw.c +++ b/drivers/video/fbdev/via/hw.c @@ -1542,7 +1542,7 @@ static void init_gfx_chip_info(int chip_type) else viaparinfo->chip_info->gfx_chip_revision = CLE266_REVISION_CX; - /* restore orignal CR4F value */ + /* restore original CR4F value */ viafb_write_reg(CR4F, VIACR, tmp); } diff --git a/drivers/video/fbdev/via/viafbdev.c b/drivers/video/fbdev/via/viafbdev.c index dd9374e8ad09..2c67a18d16ad 100644 --- a/drivers/video/fbdev/via/viafbdev.c +++ b/drivers/video/fbdev/via/viafbdev.c @@ -190,7 +190,7 @@ static int viafb_check_var(struct fb_var_screeninfo *var, DEBUG_MSG(KERN_INFO "viafb_check_var!\n"); /* Sanity check */ - /* HW neither support interlacte nor double-scaned mode */ + /* HW neither support interlacte nor double-scanned mode */ if (var->vmode & FB_VMODE_INTERLACED || var->vmode & FB_VMODE_DOUBLE) return -EINVAL; @@ -765,7 +765,7 @@ static int viafb_cursor(struct fb_info *info, struct fb_cursor *cursor) if (info->flags & FBINFO_HWACCEL_DISABLED || info != viafbinfo) return -ENODEV; - /* LCD ouput does not support hw cursors (at least on VN896) */ + /* LCD output does not support hw cursors (at least on VN896) */ if ((chip_name == UNICHROME_CLE266 && viapar->iga_path == IGA2) || viafb_LCD_ON) return -ENODEV; |
