From: Stephen Warren Date: Wed, 27 Mar 2013 02:37:57 +0000 (-0600) Subject: spi: add ability to validate xfer->bits_per_word in SPI core X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~130^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=543bb255a1987836e64f5b7a63664ead8b32b042;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed