mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
50e0a7bd02
commit
275704970c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue