Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142568
b: refs/heads/master
c: fd5e191
h: refs/heads/master
v: v3
  • Loading branch information
Mike Rapoport authored and Linus Torvalds committed Apr 7, 2009
1 parent 09a01cb commit 26a07b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75c8915c0ca633f7c1839618bd5c6a5e26b24094
refs/heads/master: fd5e191e7610eb7ecb5e35b2045ceb6554bea15a
6 changes: 6 additions & 0 deletions trunk/include/linux/spi/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv)
* SPI slaves, and are numbered from zero to num_chipselects.
* each slave has a chipselect signal, but it's common that not
* every chipselect is connected to a slave.
* @dma_alignment: SPI controller constraint on DMA buffers alignment.
* @setup: updates the device mode and clocking records used by a
* device's SPI controller; protocol code may call this. This
* must fail if an unrecognized or unsupported mode is requested.
Expand Down Expand Up @@ -239,6 +240,11 @@ struct spi_master {
*/
u16 num_chipselect;

/* some SPI controllers pose alignment requirements on DMAable
* buffers; let protocol drivers know about these requirements.
*/
u16 dma_alignment;

/* setup mode and clock, etc (spi driver may call many times) */
int (*setup)(struct spi_device *spi);

Expand Down

0 comments on commit 26a07b5

Please sign in to comment.