aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ad93231a8038..6495352bcc19 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)
957 if (spi->max_speed_hz >= speed) { 957 if (spi->max_speed_hz >= speed) {
958 spi->max_speed_hz = speed; 958 spi->max_speed_hz = speed;
959 } else { 959 } else {
960 dev_err(&spi->dev, "Can't set %dHz transfer speed\n",
961 spi->max_speed_hz);
960 err = -EINVAL; 962 err = -EINVAL;
961 goto setup_exit; 963 goto setup_exit;
962 } 964 }