Commit 77e58efd authored by Justin P. Mattock's avatar Justin P. Mattock Committed by Grant Likely

spi/topcliff: Typo fix threhold to threshold

Signed-off-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 2f263d9d
...@@ -677,7 +677,7 @@ static void pch_spi_set_ir(struct pch_spi_data *data) ...@@ -677,7 +677,7 @@ static void pch_spi_set_ir(struct pch_spi_data *data)
{ {
/* enable interrupts */ /* enable interrupts */
if ((data->bpw_len) > PCH_MAX_FIFO_DEPTH) { 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_spi_setclr_reg(data->master, PCH_SPCR,
PCH_RX_THOLD << SPCR_RFIC_FIELD, PCH_RX_THOLD << SPCR_RFIC_FIELD,
~MASK_RFIC_SPCR_BITS); ~MASK_RFIC_SPCR_BITS);
...@@ -685,7 +685,7 @@ static void pch_spi_set_ir(struct pch_spi_data *data) ...@@ -685,7 +685,7 @@ static void pch_spi_set_ir(struct pch_spi_data *data)
pch_spi_setclr_reg(data->master, PCH_SPCR, pch_spi_setclr_reg(data->master, PCH_SPCR,
SPCR_RFIE_BIT | SPCR_FIE_BIT, 0); SPCR_RFIE_BIT | SPCR_FIE_BIT, 0);
} else { } else {
/* set receive threhold to maximum */ /* set receive threshold to maximum */
pch_spi_setclr_reg(data->master, PCH_SPCR, pch_spi_setclr_reg(data->master, PCH_SPCR,
PCH_RX_THOLD_MAX << SPCR_TFIC_FIELD, PCH_RX_THOLD_MAX << SPCR_TFIC_FIELD,
~MASK_TFIC_SPCR_BITS); ~MASK_TFIC_SPCR_BITS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment