spi/s3c64xx: Complain if we fail to set a transfer speed
Subsystems (3)
PATCH 1/1 spi/s3c64xx: Complain if we fail to set a transfer speed
Signed-off-by Mark Brown <[email protected]>
--- drivers/spi/spi-s3c64xx.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/spi/spi-s3c64xx.c +2 -0
@@ -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; }
Signature · 1 line
1.7.10.4
Quoted 2 lines · Mark Brown
Signed-off-by Mark Brown <[email protected]>
Acked-by Kukjin Kim <[email protected]>
Quoted 20 lines
--- drivers/spi/spi-s3c64xx.c | 2 ++ 1 file changed, 2 insertions(+)drivers/spi/spi-s3c64xx.c index renamed from drivers/spi/spi-s3c64xx.c +0
-0ad93231..6495352 100644
drivers/spi/spi-s3c64xx.c +2
-0@@ -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;}
--
1.7.10.4