summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-s3c64xx.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2013-02-05 13:30:13 +0100
committerGrant Likely <grant.likely@secretlab.ca>2013-02-05 13:30:13 +0100
commitf305a0a8d7fcd1a600bd0b727cd8137ed223f721 (patch)
tree982681a7e3c643096b65b9626ae993597155979d /drivers/spi/spi-s3c64xx.c
parentspi: remove check for bits_per_word on transfer from low level driver (diff)
parentspi: spi-gpio: fix compilation warning on 64 bits systems (diff)
downloadlinux-f305a0a8d7fcd1a600bd0b727cd8137ed223f721.tar.xz
linux-f305a0a8d7fcd1a600bd0b727cd8137ed223f721.zip
Merge branch 'broonie/spi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git
Minor features and bug fixes for PXA, OMAP and GPIO deivce drivers and a cosmetic change to the bitbang driver. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-s3c64xx.c')
-rw-r--r--drivers/spi/spi-s3c64xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index d77b6560b67f..a82bfa4af601 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -957,6 +957,8 @@ static int s3c64xx_spi_setup(struct spi_device *spi)
if (spi->max_speed_hz >= speed) {
spi->max_speed_hz = speed;
} else {
+ dev_err(&spi->dev, "Can't set %dHz transfer speed\n",
+ spi->max_speed_hz);
err = -EINVAL;
goto setup_exit;
}