diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-02 19:23:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-02 19:23:38 -0400 |
commit | 159d8133d0b54a501a41a66fe3a0e7d16405e36d (patch) | |
tree | dd9b0204d90b25e1e0be933348776f09434333c6 /include/linux/spi | |
parent | 05bf58ca4b8f0be7d7af830f943f6d6b2c9ccee1 (diff) | |
parent | c800bcd5f53fd9455fc6c68f1a34306e5aa4f79a (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina:
"Usual rocket science -- mostly documentation and comment updates"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
sparse: fix comment
doc: fix double words
isdn: capi: fix "CAPI_VERSION" comment
doc: DocBook: Fix typos in xml and template file
Bluetooth: add module name for btwilink
driver core: unexport static function create_syslog_header
mmc: core: typo fix in printk specifier
ARM: spear: clean up editing mistake
net-sysfs: fix comment typo 'CONFIG_SYFS'
doc: Insert MODULE_ in module-signing macros
Documentation: update URL to hfsplus Technote 1150
gpio: update path to documentation
ixgbe: Fix format string in ixgbe_fcoe.
Kconfig: Remove useless "default N" lines
user_namespace.c: Remove duplicated word in comment
CREDITS: fix formatting
treewide: Fix typo in Documentation/DocBook
mm: Fix warning on make htmldocs caused by slab.c
ata: ata-samsung_cf: cleanup in header file
idr: remove unused prototype of idr_free()
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/spi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 36c86ef51ff3..e713543336f1 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h | |||
@@ -237,7 +237,7 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) | |||
237 | * @mode_bits: flags understood by this controller driver | 237 | * @mode_bits: flags understood by this controller driver |
238 | * @bits_per_word_mask: A mask indicating which values of bits_per_word are | 238 | * @bits_per_word_mask: A mask indicating which values of bits_per_word are |
239 | * supported by the driver. Bit n indicates that a bits_per_word n+1 is | 239 | * supported by the driver. Bit n indicates that a bits_per_word n+1 is |
240 | * suported. If set, the SPI core will reject any transfer with an | 240 | * supported. If set, the SPI core will reject any transfer with an |
241 | * unsupported bits_per_word. If not set, this value is simply ignored, | 241 | * unsupported bits_per_word. If not set, this value is simply ignored, |
242 | * and it's up to the individual driver to perform any validation. | 242 | * and it's up to the individual driver to perform any validation. |
243 | * @min_speed_hz: Lowest supported transfer speed | 243 | * @min_speed_hz: Lowest supported transfer speed |
@@ -262,7 +262,7 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) | |||
262 | * @cur_msg: the currently in-flight message | 262 | * @cur_msg: the currently in-flight message |
263 | * @cur_msg_prepared: spi_prepare_message was called for the currently | 263 | * @cur_msg_prepared: spi_prepare_message was called for the currently |
264 | * in-flight message | 264 | * in-flight message |
265 | * @xfer_completion: used by core tranfer_one_message() | 265 | * @xfer_completion: used by core transfer_one_message() |
266 | * @busy: message pump is busy | 266 | * @busy: message pump is busy |
267 | * @running: message pump is running | 267 | * @running: message pump is running |
268 | * @rt: whether this queue is set to run as a realtime task | 268 | * @rt: whether this queue is set to run as a realtime task |
@@ -525,7 +525,7 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum); | |||
525 | * @rx_buf: data to be read (dma-safe memory), or NULL | 525 | * @rx_buf: data to be read (dma-safe memory), or NULL |
526 | * @tx_dma: DMA address of tx_buf, if @spi_message.is_dma_mapped | 526 | * @tx_dma: DMA address of tx_buf, if @spi_message.is_dma_mapped |
527 | * @rx_dma: DMA address of rx_buf, if @spi_message.is_dma_mapped | 527 | * @rx_dma: DMA address of rx_buf, if @spi_message.is_dma_mapped |
528 | * @tx_nbits: number of bits used for writting. If 0 the default | 528 | * @tx_nbits: number of bits used for writing. If 0 the default |
529 | * (SPI_NBITS_SINGLE) is used. | 529 | * (SPI_NBITS_SINGLE) is used. |
530 | * @rx_nbits: number of bits used for reading. If 0 the default | 530 | * @rx_nbits: number of bits used for reading. If 0 the default |
531 | * (SPI_NBITS_SINGLE) is used. | 531 | * (SPI_NBITS_SINGLE) is used. |
@@ -585,7 +585,7 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum); | |||
585 | * by the results of previous messages and where the whole transaction | 585 | * by the results of previous messages and where the whole transaction |
586 | * ends when the chipselect goes intactive. | 586 | * ends when the chipselect goes intactive. |
587 | * | 587 | * |
588 | * When SPI can transfer in 1x,2x or 4x. It can get this tranfer information | 588 | * When SPI can transfer in 1x,2x or 4x. It can get this transfer information |
589 | * from device through @tx_nbits and @rx_nbits. In Bi-direction, these | 589 | * from device through @tx_nbits and @rx_nbits. In Bi-direction, these |
590 | * two should both be set. User can set transfer mode with SPI_NBITS_SINGLE(1x) | 590 | * two should both be set. User can set transfer mode with SPI_NBITS_SINGLE(1x) |
591 | * SPI_NBITS_DUAL(2x) and SPI_NBITS_QUAD(4x) to support these three transfer. | 591 | * SPI_NBITS_DUAL(2x) and SPI_NBITS_QUAD(4x) to support these three transfer. |