From 0129b02c7bb9cbff81974cbbaeebc4529d823bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Thu, 5 Feb 2015 16:17:06 +0200 Subject: [PATCH] toos/intel_iosf_sb_*: Fix DPIO IOSF SB port number MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The correct port is 0x12, not 0x13 which is actually GPIO_NC. Signed-off-by: Ville Syrjälä --- tools/intel_iosf_sb_read.c | 2 +- tools/intel_iosf_sb_write.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/intel_iosf_sb_read.c b/tools/intel_iosf_sb_read.c index 8f35e505..03bf0076 100644 --- a/tools/intel_iosf_sb_read.c +++ b/tools/intel_iosf_sb_read.c @@ -55,7 +55,7 @@ int main(int argc, char *argv[]) else if (!strcasecmp(argv[1], "nc")) port = 0x11; else if (!strcasecmp(argv[1], "dpio")) - port = 0x13; + port = 0x12; else if (!strcasecmp(argv[1], "gpio_nc")) port = 0x13; else if (!strcasecmp(argv[1], "cck")) diff --git a/tools/intel_iosf_sb_write.c b/tools/intel_iosf_sb_write.c index 8d06380f..13c738f1 100644 --- a/tools/intel_iosf_sb_write.c +++ b/tools/intel_iosf_sb_write.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) else if (!strcasecmp(argv[1], "nc")) port = 0x11; else if (!strcasecmp(argv[1], "dpio")) - port = 0x13; + port = 0x12; else if (!strcasecmp(argv[1], "gpio_nc")) port = 0x13; else if (!strcasecmp(argv[1], "cck"))