spi: fix spi_write_then_read() comment
authorJiri Pirko <[email protected]>
Wed, 17 Jun 2009 23:26:06 +0000 (16:26 -0700)
committerLinus Torvalds <[email protected]>
Thu, 18 Jun 2009 20:03:42 +0000 (13:03 -0700)
Buffer needs not be dma-safe, not rx data length.

Signed-off-by: Jiri Pirko <[email protected]>
Cc: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/spi/spi.c

index a525a3a848c1580eba478059f8bb6812aa930061..70845ccd85c380ce148683232c609bdd933f0635 100644 (file)
@@ -700,8 +700,8 @@ static u8   *buf;
  * @spi: device with which data will be exchanged
  * @txbuf: data to be written (need not be dma-safe)
  * @n_tx: size of txbuf, in bytes
- * @rxbuf: buffer into which data will be read
- * @n_rx: size of rxbuf, in bytes (need not be dma-safe)
+ * @rxbuf: buffer into which data will be read (need not be dma-safe)
+ * @n_rx: size of rxbuf, in bytes
  * Context: can sleep
  *
  * This performs a half duplex MicroWire style transaction with the