summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bcm2835.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2013-03-27 03:37:57 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-01 15:14:32 +0200
commit543bb255a1987836e64f5b7a63664ead8b32b042 (patch)
tree818ee5b60f8d24ccfd495ebdb50ea0a175c340b1 /drivers/spi/spi-bcm2835.c
parentspi: spi-s3c64xx.c Remove unused argument. (diff)
downloadlinux-543bb255a1987836e64f5b7a63664ead8b32b042.tar.xz
linux-543bb255a1987836e64f5b7a63664ead8b32b042.zip
spi: add ability to validate xfer->bits_per_word in SPI core
Allow SPI masters to define the set of bits_per_word values they support. If they do this, then the SPI core will reject transfers that attempt to use an unsupported bits_per_word value. This eliminates the need for each SPI driver to implement this checking in most cases. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/spi/spi-bcm2835.c')
0 files changed, 0 insertions, 0 deletions