spi: Support transfer speed checking in the core
authorMark Brown <broonie@linaro.org>
Wed, 10 Jul 2013 13:57:26 +0000 (14:57 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:34:51 +0000 (11:34 +0100)
commita2fd4f9fa3b9f051550b36c4dfa74bc32bda24ee
treeb317a65457403d0e3175cd3fa36a66b6b2627527
parentad81f0545ef01ea651886dddac4bef6cec930092
spi: Support transfer speed checking in the core

Allow drivers to avoid implementing their own checks for simple rates by
specifying the limits in the master structure.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi.c
include/linux/spi/spi.h