Skip to contentSkip to conversation

staging: nvec: edit udelay comment

PATCH In review TaheraFahimi 2 participants 2 messages Mar 15, 2024 – Mar 20, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: nvec: edit udelay comment

---
 drivers/staging/nvec/nvec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/nvec/nvec.c +1 -1
index 282a664c9176..b4485b10beb8 100644
@@ -712,7 +712,7 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
 	 * TODO: replace the udelay with a read back after each writel above
 	 * in order to work around a hardware issue, see i2c-tegra.c
 	 *
-	 * Unfortunately, this change causes an intialisation issue with the
+	 * Unfortunately, this change causes an initialisation issue with the
 	 * touchpad, which needs to be fixed first.
 	 */
 	udelay(100);
Signature · 1 line
2.34.1
#1 lore raw
Quoted 1 line · TaheraFahimi

Missing commit log.

Commit message would be clearer like: "correct a misspelled comment" because when you say you are editing a udelay comment, it made me think you were clarifying something about usage of udelay.

There are plenty of patches on this list with examples of how patches of spelling corrections are worded in both the commit message and log. Please take a look.

Thanks,
Alison

Quoted 21 lines
---
 drivers/staging/nvec/nvec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/nvec/nvec.c +1 -1
index 282a664c9176..b4485b10beb8 100644
@@ -712,7 +712,7 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
 	 * TODO: replace the udelay with a read back after each writel above
 	 * in order to work around a hardware issue, see i2c-tegra.c
 	 *
-	 * Unfortunately, this change causes an intialisation issue with the
+	 * Unfortunately, this change causes an initialisation issue with the
 	 * touchpad, which needs to be fixed first.
 	 */
 	udelay(100);
Signature · 1 line
2.34.1