Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c64bc1b authored by John Whitmore's avatar John Whitmore Committed by Mark Brown
Browse files

spi: Correction to typos in Documentation/spi/spi-summary



Just a few simple typo corrections.

Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 90808738
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ SPI slave functions are usually not interoperable between vendors
  - It may also be used to stream data in either direction (half duplex),
    or both of them at the same time (full duplex).

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

  - 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
a slave, and the slave can tell the chosen polarity by sampling the
clock level when its select line goes active.  That's why many devices
support for example both modes 0 and 3:  they don't care about polarity,
and alway clock data in/out on rising clock edges.
and always clock data in/out on rising clock edges.


How do these driver programming interfaces work?
@@ -548,7 +548,7 @@ SPI MASTER METHODS
    DEPRECATED METHODS

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