summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_topcliff_pch.c
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2010-12-31 18:50:31 +0100
committerGrant Likely <grant.likely@secretlab.ca>2011-01-01 01:49:30 +0100
commit77e58efd134b553d723fd963f436920a6aaaa6df (patch)
treecb390ba1b933a95b652974c07c321e982df460b2 /drivers/spi/spi_topcliff_pch.c
parentspi/dw_spi Typo change diable to disable. (diff)
downloadlinux-77e58efd134b553d723fd963f436920a6aaaa6df.tar.xz
linux-77e58efd134b553d723fd963f436920a6aaaa6df.zip
spi/topcliff: Typo fix threhold to threshold
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi_topcliff_pch.c')
-rw-r--r--drivers/spi/spi_topcliff_pch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi_topcliff_pch.c b/drivers/spi/spi_topcliff_pch.c
index 56b758847c04..79e48d451137 100644
--- a/drivers/spi/spi_topcliff_pch.c
+++ b/drivers/spi/spi_topcliff_pch.c
@@ -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_RFIC_FIELD,
~MASK_RFIC_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_FIE_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);