summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/mts_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index c167b74..ebf8bea 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -957,7 +957,7 @@ static ssize_t mts_attr_show_dout(struct device *dev,
mutex_lock(&spi_dout_mutex);
- value = spi_dout_value & bit ? 1 : 0;
+ value = spi_dout_value & bit ? 0 : 1;
mutex_unlock(&spi_dout_mutex);