Skip to contentSkip to conversation

spi/spi_topcliff_pch.c Typo change threhold to threshold

PATCH Applied Justin P. Mattock 2 participants 2 messages Dec 31, 2010 – Jan 1, 2011 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi/spi_topcliff_pch.c Typo change threhold to threshold

The below patch changes a typo from "threhold" to "threshold". Let me know if I missed anything.

---
 drivers/spi/spi_topcliff_pch.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/spi/spi_topcliff_pch.c +2 -2
index 58e187f..be451e3 100644
@@ -677,7 +677,7 @@ static void pch_spi_set_ir(struct pch_spi_data *data)
 {
 	/* enable interrupts */
 	if ((data->bpw_len) > PCH_MAX_FIFO_DEPTH) {
-		/* set receive threhold to PCH_RX_THOLD */
+		/* set receive threshold to PCH_RX_THOLD */
 		pch_spi_setclr_reg(data->master, PCH_SPCR,
 				   PCH_RX_THOLD << SPCR_TFIC_FIELD,
 				   ~MASK_TFIC_SPCR_BITS);
@@ -685,7 +685,7 @@ static void pch_spi_set_ir(struct pch_spi_data *data)
 		pch_spi_setclr_reg(data->master, PCH_SPCR,
 				   SPCR_RFIE_BIT | SPCR_TFIE_BIT, 0);
 	} else {
-		/* set receive threhold to maximum */
+		/* set receive threshold to maximum */
 		pch_spi_setclr_reg(data->master, PCH_SPCR,
 				   PCH_RX_THOLD_MAX << SPCR_TFIC_FIELD,
 				   ~MASK_TFIC_SPCR_BITS);
Signature · 1 line
1.6.5.2.180.gc5b3e
Applied
#1 lore raw
Quoted 4 lines · Justin P. Mattock

The below patch changes a typo from "threhold" to "threshold". Let me know if I missed anything.

Applied, thanks.

g.

Quoted 30 lines
---
 drivers/spi/spi_topcliff_pch.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/spi/spi_topcliff_pch.c +2 -2
index 58e187f..be451e3 100644
@@ -677,7 +677,7 @@ static void pch_spi_set_ir(struct pch_spi_data *data)
 {
 	/* enable interrupts */
 	if ((data->bpw_len) > PCH_MAX_FIFO_DEPTH) {
-		/* set receive threhold to PCH_RX_THOLD */
+		/* set receive threshold to PCH_RX_THOLD */
 		pch_spi_setclr_reg(data->master, PCH_SPCR,
 				   PCH_RX_THOLD << SPCR_TFIC_FIELD,
 				   ~MASK_TFIC_SPCR_BITS);
@@ -685,7 +685,7 @@ static void pch_spi_set_ir(struct pch_spi_data *data)
 		pch_spi_setclr_reg(data->master, PCH_SPCR,
 				   SPCR_RFIE_BIT | SPCR_TFIE_BIT, 0);
 	} else {
-		/* set receive threhold to maximum */
+		/* set receive threshold to maximum */
 		pch_spi_setclr_reg(data->master, PCH_SPCR,
 				   PCH_RX_THOLD_MAX << SPCR_TFIC_FIELD,
 				   ~MASK_TFIC_SPCR_BITS);
Signature · 1 line
1.6.5.2.180.gc5b3e