* [PATCH] spi: fix spi_write_then_read() comment
@ 2009-05-30 16:39 Jiri Pirko
0 siblings, 0 replies; only message in thread
From: Jiri Pirko @ 2009-05-30 16:39 UTC (permalink / raw)
To: dbrownell; +Cc: spi-devel-general, linux-kernel
[PATCH] spi: fix spi_write_then_read() comment
Spotted a tiny mislead. I guess buffer need not be dma-safe, not rx data length.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 8eba98c..85a46c7 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -636,8 +636,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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-30 16:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-30 16:39 [PATCH] spi: fix spi_write_then_read() comment Jiri Pirko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).