diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-10-17 11:21:21 -0500 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-10-17 11:21:21 -0500 |
commit | 32666ddc7ce17ab0b9750b4481d0e44c10435abe (patch) | |
tree | 0517ac9254898c1a2112a8c4672da8d0f1730cd4 /io-module/mts_io.c | |
parent | 23cdb7df748e496b0af99dbac3f267f1f2b0a12a (diff) | |
download | mts-io-32666ddc7ce17ab0b9750b4481d0e44c10435abe.tar.gz mts-io-32666ddc7ce17ab0b9750b4481d0e44c10435abe.tar.bz2 mts-io-32666ddc7ce17ab0b9750b4481d0e44c10435abe.zip |
mtp: add cdone, creset and move PWRMON for 1.5 hardware1.4.0
Diffstat (limited to 'io-module/mts_io.c')
-rw-r--r-- | io-module/mts_io.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c index dcbc8e2..7dcdf54 100644 --- a/io-module/mts_io.c +++ b/io-module/mts_io.c @@ -47,7 +47,7 @@ #include "mts_io.h" -#define DRIVER_VERSION "v1.3.8" +#define DRIVER_VERSION "v1.4.0" #define DRIVER_AUTHOR "James Maki <jmaki@multitech.com>" #define DRIVER_DESC "MTS-IO Controller" #define DRIVER_NAME "mts-io" @@ -472,7 +472,7 @@ static ssize_t mts_attr_show_radio_reset_backoffs(struct device *dev, ret += snprintf(buf += strlen(buf), buf_left, "%d ", timings_data[i]); } } - + if (ret > 0) { ret -= 1; } @@ -565,7 +565,7 @@ static ssize_t mts_attr_show_product_info(struct device *dev, { int i; ssize_t value; - + if (strcmp(attr->attr.name, "vendor-id") == 0) { value = sprintf(buf, "%.32s\n", id_eeprom.vendor_id); } else if (strcmp(attr->attr.name, "product-id") == 0) { @@ -830,7 +830,7 @@ static int mts_id_eeprom_load() id_eeprom.mac_addr[3], id_eeprom.mac_addr[4], id_eeprom.mac_addr[5]); - + log_info("imei: %.32s", id_eeprom.imei); log_info("capa-gps: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_GPS) ? "yes" : "no"); log_info("capa-din: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_DIN) ? "yes" : "no"); @@ -891,7 +891,7 @@ static int __init mts_io_init(void) int ret; log_info("init: " DRIVER_VERSION); - + ret = mts_id_eeprom_load(); if (ret) { cleanup(); |