]> git.karo-electronics.de Git - linux-beck.git/commit
spi: qup: Convert ot let spi core handle checking transfer speed
authorAxel Lin <axel.lin@ingics.com>
Fri, 21 Feb 2014 01:34:16 +0000 (09:34 +0800)
committerMark Brown <broonie@linaro.org>
Sun, 23 Feb 2014 03:28:28 +0000 (12:28 +0900)
commitcb64ca54076243b1d88b0a8430504d0a4cf3a5fa
tree235b3fcd5043ac5950ec042c9b86a1d32cb1072b
parent81b045fe72f957ad24ab97f999ea8ca14359d941
spi: qup: Convert ot let spi core handle checking transfer speed

Set master->max_speed_hz then spi core will handle checking transfer speed.
So we can remove the same checking in this driver.

Also remove checking spi->chip_select in spi_qup_setup(), the checking is done
by spi core.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-qup.c