diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-06 11:48:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-06 11:48:50 +0100 |
commit | 3086c9f6482101b3c06935cdfb4d4b56adb60097 (patch) | |
tree | 30b40b82f5f6d26982886a2aea5585cfdb4ac9ef /drivers/spi/spi-atmel.c | |
parent | c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1 (diff) | |
parent | 0d2d0cc5216db678070efc911ef47f4cb53b4aad (diff) | |
download | linux-3086c9f6482101b3c06935cdfb4d4b56adb60097.tar.gz linux-3086c9f6482101b3c06935cdfb4d4b56adb60097.tar.bz2 linux-3086c9f6482101b3c06935cdfb4d4b56adb60097.zip |
Merge branch 'spi/merge' of git://git.secretlab.ca/git/linux into spi-fix-grant
Diffstat (limited to 'drivers/spi/spi-atmel.c')
-rw-r--r-- | drivers/spi/spi-atmel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 656d137db253..80f5867c088b 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -847,8 +847,8 @@ static int atmel_spi_transfer(struct spi_device *spi, struct spi_message *msg) } /* FIXME implement these protocol options!! */ - if (xfer->speed_hz) { - dev_dbg(&spi->dev, "no protocol options yet\n"); + if (xfer->speed_hz < spi->max_speed_hz) { + dev_dbg(&spi->dev, "can't change speed in transfer\n"); return -ENOPROTOOPT; } |