summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorHemanth Selam <hemanth.selam@gmail.com>2026-09-12 18:33:40 +0200
committerHelge Deller <deller@gmx.de>2026-09-15 09:19:55 +0200
commitbbb97e27ab4d7986eeaf283110df48478c503473 (patch)
tree09bfe6b55f2165ec95dc1183d8dc28dfbfe22ac7 /drivers/video/fbdev
parent47a636c12dcab0ccce0e14572113035bf36fe37f (diff)
downloadlinux-next-bbb97e27ab4d7986eeaf283110df48478c503473.tar.gz
linux-next-bbb97e27ab4d7986eeaf283110df48478c503473.zip
fbdev: mmp: 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>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/mmp/core.c2
-rw-r--r--drivers/video/fbdev/mmp/hw/mmp_ctrl.c4
-rw-r--r--drivers/video/fbdev/mmp/hw/mmp_ctrl.h4
-rw-r--r--drivers/video/fbdev/mmp/hw/mmp_spi.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/fbdev/mmp/core.c b/drivers/video/fbdev/mmp/core.c
index 3c35b0a3ea09..9d4fda2fc83f 100644
--- a/drivers/video/fbdev/mmp/core.c
+++ b/drivers/video/fbdev/mmp/core.c
@@ -65,7 +65,7 @@ static DEFINE_MUTEX(disp_lock);
* @p: panel to be registered
*
* this function provides interface for panel drivers to register panel
- * to panel_list and connect to path which matchs panel->plat_path_name.
+ * to panel_list and connect to path which matches panel->plat_path_name.
* no error returns when no matching path is found as path register after
* panel register is permitted.
*/
diff --git a/drivers/video/fbdev/mmp/hw/mmp_ctrl.c b/drivers/video/fbdev/mmp/hw/mmp_ctrl.c
index 2c457da67a9f..3db608e5aef1 100644
--- a/drivers/video/fbdev/mmp/hw/mmp_ctrl.c
+++ b/drivers/video/fbdev/mmp/hw/mmp_ctrl.c
@@ -325,7 +325,7 @@ static void ctrl_set_default(struct mmphw_ctrl *ctrl)
u32 tmp, irq_mask;
/*
- * LCD Global control(LCD_TOP_CTRL) should be configed before
+ * LCD Global control(LCD_TOP_CTRL) should be configured before
* any other LCD registers read/write, or there maybe issues.
*/
tmp = readl_relaxed(ctrl->reg_base + LCD_TOP_CTRL);
@@ -521,7 +521,7 @@ static int mmphw_probe(struct platform_device *pdev)
/* init global regs */
ctrl_set_default(ctrl);
- /* init pathes from machine info and register them */
+ /* init paths from machine info and register them */
for (i = 0; i < ctrl->path_num; i++) {
/* get from config and machine info */
path_plat = &ctrl->path_plats[i];
diff --git a/drivers/video/fbdev/mmp/hw/mmp_ctrl.h b/drivers/video/fbdev/mmp/hw/mmp_ctrl.h
index 719b99a9bc77..b49d870df44f 100644
--- a/drivers/video/fbdev/mmp/hw/mmp_ctrl.h
+++ b/drivers/video/fbdev/mmp/hw/mmp_ctrl.h
@@ -1404,7 +1404,7 @@ struct mmphw_ctrl {
int status;
struct mutex access_ok;
- /*pathes*/
+ /* paths */
int path_num;
struct mmphw_path_plat path_plats[] __counted_by(path_num);
};
@@ -1434,7 +1434,7 @@ static inline void __iomem *ctrl_regs(struct mmp_path *path)
return path_to_ctrl(path)->reg_base;
}
-/* path regs, for regs symmetrical for both pathes */
+/* path regs, for regs symmetrical for both paths */
static inline struct lcd_regs *path_regs(struct mmp_path *path)
{
if (path->id == PATH_PN)
diff --git a/drivers/video/fbdev/mmp/hw/mmp_spi.c b/drivers/video/fbdev/mmp/hw/mmp_spi.c
index 3f253f4271ac..8e6e8be441d2 100644
--- a/drivers/video/fbdev/mmp/hw/mmp_spi.c
+++ b/drivers/video/fbdev/mmp/hw/mmp_spi.c
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* linux/drivers/video/mmp/hw/mmp_spi.c
- * using the spi in LCD controler for commands send
+ * using the spi in LCD controller for commands send
*
* Copyright (C) 2012 Marvell Technology Group Ltd.
* Authors: Guoqing Li <ligq@marvell.com>