diff options
author | Volodymyr Vorobiov <volodymyr.vorobiov@globallogic.com> | 2019-10-29 18:17:27 +0200 |
---|---|---|
committer | Volodymyr Vorobiov <volodymyr.vorobiov@globallogic.com> | 2019-10-29 18:17:27 +0200 |
commit | 0f09f38ceaed0ce4f676facb02046095724fb4bf (patch) | |
tree | f7e42aee817d64d884a706048d18a3cfbf329b50 /io-module/spi.c | |
parent | 88c747744d74a808ab5de0e6232327918c70ecbd (diff) | |
download | mts-io-0f09f38ceaed0ce4f676facb02046095724fb4bf.tar.gz mts-io-0f09f38ceaed0ce4f676facb02046095724fb4bf.tar.bz2 mts-io-0f09f38ceaed0ce4f676facb02046095724fb4bf.zip |
Add mt100eocg spi io
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; |