Skip to content

Commit 77e58ef

Browse files
Justin P. Mattockglikely
authored andcommitted
spi/topcliff: Typo fix threhold to threshold
Signed-off-by: Justin P. Mattock <[email protected]> Signed-off-by: Grant Likely <[email protected]>
1 parent 2f263d9 commit 77e58ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi_topcliff_pch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,15 +677,15 @@ static void pch_spi_set_ir(struct pch_spi_data *data)
677677
{
678678
/* enable interrupts */
679679
if ((data->bpw_len) > PCH_MAX_FIFO_DEPTH) {
680-
/* set receive threhold to PCH_RX_THOLD */
680+
/* set receive threshold to PCH_RX_THOLD */
681681
pch_spi_setclr_reg(data->master, PCH_SPCR,
682682
PCH_RX_THOLD << SPCR_RFIC_FIELD,
683683
~MASK_RFIC_SPCR_BITS);
684684
/* enable FI and RFI interrupts */
685685
pch_spi_setclr_reg(data->master, PCH_SPCR,
686686
SPCR_RFIE_BIT | SPCR_FIE_BIT, 0);
687687
} else {
688-
/* set receive threhold to maximum */
688+
/* set receive threshold to maximum */
689689
pch_spi_setclr_reg(data->master, PCH_SPCR,
690690
PCH_RX_THOLD_MAX << SPCR_TFIC_FIELD,
691691
~MASK_TFIC_SPCR_BITS);

0 commit comments

Comments
 (0)