summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2015-09-15 15:26:21 +0200
committerMark Brown <broonie@kernel.org>2015-09-17 13:34:20 +0200
commit76f67ea9bf27b045eacf8f1e148fd13149f51823 (patch)
tree8beaf78c07e1db3899c2c7ac6fff468c38b4e48d /CREDITS
parentLinux 4.3-rc1 (diff)
downloadlinux-76f67ea9bf27b045eacf8f1e148fd13149f51823.tar.xz
linux-76f67ea9bf27b045eacf8f1e148fd13149f51823.zip
spi: omap-100k: Rely on validations done by spi core
SPI core validates both bits_per_word and speed_hz transfer parameters and defaults to spi->bits_per_word and spi->max_speed_hz in case these per transfer parameters are not set. This allows to remove a few if statements around per transfer bits_per_word and speed_hz tests as they evaluate always to true. Also defaulting word_len to 8 is needless since spi_setup() has already made sure spi->bits_per_word is 8 in case it is not set. Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions