spi: fix spi_write_then_read() comment

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, June 18, 2009 - 2:59 pm

Gitweb:     http://git.kernel.org/linus/275704970c76c2453b656967586de9c35d247eae
Commit:     275704970c76c2453b656967586de9c35d247eae
Parent:     50e0a7bd02f95be95ac03299b0356ba6400d1c6d
Author:     Jiri Pirko <jpirko@redhat.com>
AuthorDate: Wed Jun 17 16:26:06 2009 -0700
Committer:  Linus Torvalds <torvalds@linux-foundation.org>
CommitDate: Thu Jun 18 13:03:42 2009 -0700

    spi: fix spi_write_then_read() comment
    
    Buffer needs not be dma-safe, not rx data length.
    
    Signed-off-by: Jiri Pirko <jpirko@redhat.com>
    Cc: David Brownell <david-b@pacbell.net>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
 drivers/spi/spi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index a525a3a..70845cc 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
spi: fix spi_write_then_read() comment, Linux Kernel Mailing ..., (Thu Jun 18, 2:59 pm)