From 8ffd3e6e3356ecd0e85ca55184590fc7555511d9 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 29 Aug 2019 11:32:33 -0500 Subject: Fix polarity and labels of wifi/bt in mtcdt3 --- io-module/machine/mtcdt3.c | 12 ++++++------ io-module/mts_io_module.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/io-module/machine/mtcdt3.c b/io-module/machine/mtcdt3.c index bae9c82..10bb5a5 100644 --- a/io-module/machine/mtcdt3.c +++ b/io-module/machine/mtcdt3.c @@ -45,24 +45,24 @@ static struct gpio_pin gpio_pins_mtcdt3[] = { .capability = CAPA_BLUETOOTH, }, { - .name = "WIFI_ENABLE", + .name = "WIFI_RESET", .pin = { .gpio = OMAP_GPIO(4,11), /* 4_11 */ .flags = GPIOF_OUT_INIT_HIGH, - .label = "wifi-reset", + .label = "wlan-enabled", }, .capability = CAPA_WIFI, - .active_low = 0, + .active_low = 1, }, { - .name = "BT_ENABLE", + .name = "BT_RESET", .pin = { .gpio = OMAP_GPIO(4,10), /* 4_10 */ .flags = GPIOF_OUT_INIT_HIGH, - .label = "bt-reset", + .label = "bt-enabled", }, .capability = CAPA_BLUETOOTH, - .active_low = 0, + .active_low = 1, }, { .name = "USBHUB_RESET", diff --git a/io-module/mts_io_module.h b/io-module/mts_io_module.h index 897868a..febcee7 100644 --- a/io-module/mts_io_module.h +++ b/io-module/mts_io_module.h @@ -5,7 +5,7 @@ * MTAC cards. */ -#define DRIVER_VERSION "v4.1.6" +#define DRIVER_VERSION "v4.1.7" #define DRIVER_AUTHOR "James Maki " #define DRIVER_DESC "MTS-IO Controller" #define DRIVER_NAME "mts-io" -- cgit v1.2.3