summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-st-ssc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-st-ssc4.c')
-rw-r--r--drivers/spi/spi-st-ssc4.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/spi/spi-st-ssc4.c b/drivers/spi/spi-st-ssc4.c
index 8f8770a97ba7..2faeaa7b57a8 100644
--- a/drivers/spi/spi-st-ssc4.c
+++ b/drivers/spi/spi-st-ssc4.c
@@ -217,12 +217,6 @@ static int spi_st_setup(struct spi_device *spi)
int cs = spi->cs_gpio;
int ret;
- if (spi->mode & ~MODEBITS) {
- dev_err(&spi->dev, "unsupported mode bits 0x%x\n",
- spi->mode & ~MODEBITS);
- return -EINVAL;
- }
-
if (!hz) {
dev_err(&spi->dev, "max_speed_hz unspecified\n");
return -EINVAL;