[PATCH i-g-t 3/9] toos/intel_iosf_sb_*: Fix DPIO IOSF SB port number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

The correct port is 0x12, not 0x13 which is actually GPIO_NC.

Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
---
 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 8f35e50..03bf007 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 8d06380..13c738f 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"))
-- 
2.0.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux