Skip to content

Commit 0c64bc1

Browse files
johnfwhitmorebroonie
authored andcommitted
spi: Correction to typos in Documentation/spi/spi-summary
Just a few simple typo corrections. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
1 parent 9080873 commit 0c64bc1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Documentation/spi/spi-summary‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ SPI slave functions are usually not interoperable between vendors
3434
- It may also be used to stream data in either direction (half duplex),
3535
or both of them at the same time (full duplex).
3636

37-
- Some devices may use eight bit words. Others may different word
37+
- Some devices may use eight bit words. Others may use different word
3838
lengths, such as streams of 12-bit or 20-bit digital samples.
3939

4040
- Words are usually sent with their most significant bit (MSB) first,
@@ -121,7 +121,7 @@ active. So the master must set the clock to inactive before selecting
121121
a slave, and the slave can tell the chosen polarity by sampling the
122122
clock level when its select line goes active. That's why many devices
123123
support for example both modes 0 and 3: they don't care about polarity,
124-
and alway clock data in/out on rising clock edges.
124+
and always clock data in/out on rising clock edges.
125125

126126

127127
How do these driver programming interfaces work?
@@ -139,7 +139,7 @@ a command and then reading its response.
139139

140140
There are two types of SPI driver, here called:
141141

142-
Controller drivers ... controllers may be built in to System-On-Chip
142+
Controller drivers ... controllers may be built into System-On-Chip
143143
processors, and often support both Master and Slave roles.
144144
These drivers touch hardware registers and may use DMA.
145145
Or they can be PIO bitbangers, needing just GPIO pins.
@@ -548,7 +548,7 @@ SPI MASTER METHODS
548548
DEPRECATED METHODS
549549

550550
master->transfer(struct spi_device *spi, struct spi_message *message)
551-
This must not sleep. Its responsibility is arrange that the
551+
This must not sleep. Its responsibility is to arrange that the
552552
transfer happens and its complete() callback is issued. The two
553553
will normally happen later, after other transfers complete, and
554554
if the controller is idle it will need to be kickstarted. This

0 commit comments

Comments
 (0)