diff options
Diffstat (limited to 'io-module/spi.c')
-rw-r--r-- | io-module/spi.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/io-module/spi.c b/io-module/spi.c index 210371c..1244cfc 100644 --- a/io-module/spi.c +++ b/io-module/spi.c @@ -484,11 +484,6 @@ static int mts_spi_dout_probe(struct spi_device *spi) { int tmp; - if (!DEVICE_CAPA(id_eeprom.capa, CAPA_DOUT)) { - log_debug("digital outputs not available"); - return -ENODEV; - } - spi->max_speed_hz = dout_max_speed_hz; spi->mode = 0; @@ -529,12 +524,6 @@ static struct spi_driver mts_spi_dout_driver = { static int mts_spi_din_probe(struct spi_device *spi) { int tmp; - - if (!DEVICE_CAPA(id_eeprom.capa, CAPA_DIN)) { - log_debug("digital inputs not available"); - return -ENODEV; - } - spi->max_speed_hz = din_max_speed_hz; spi->mode = SPI_CPOL; |