projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6bdfa6
)
spi: spi-fsl-dspi: Fix typos
author
Vladimir Oltean
<olteanv@gmail.com>
Sun, 18 Aug 2019 18:01:12 +0000
(21:01 +0300)
committer
Mark Brown
<broonie@kernel.org>
Tue, 20 Aug 2019 13:06:51 +0000
(14:06 +0100)
mask of -> mask off
at and -> and
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Link:
https://lore.kernel.org/r/20190818180115.31114-12-olteanv@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-fsl-dspi.c
b/drivers/spi/spi-fsl-dspi.c
index e2e71bd73b5c702c272f1bc2a7097c0fa3a9eaba..6128c695d06f691dadb2cd5c8140e01638951b5d 100644
(file)
--- a/
drivers/spi/spi-fsl-dspi.c
+++ b/
drivers/spi/spi-fsl-dspi.c
@@
-232,7
+232,7
@@
static void dspi_push_rx(struct fsl_dspi *dspi, u32 rxdata)
if (!dspi->rx)
return;
- /* Mask of undefined bits */
+ /* Mask of
f
undefined bits */
rxdata &= (1 << dspi->bits_per_word) - 1;
if (dspi->bytes_per_word == 1)
@@
-642,7
+642,7
@@
static void dspi_eoq_read(struct fsl_dspi *dspi)
{
int fifo_size = DSPI_FIFO_SIZE;
- /* Read one FIFO entry a
t a
nd push to rx buffer */
+ /* Read one FIFO entry and push to rx buffer */
while ((dspi->rx < dspi->rx_end) && fifo_size--)
dspi_push_rx(dspi, fifo_read(dspi));
}