diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-10-11 11:37:25 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-10-11 11:37:25 -0700 |
commit | 1708580217ed403f0abd086f15baddf98cb0fb5a (patch) | |
tree | a50d1238512a16165e60c7f130f88512c3e1163b | |
parent | 503cfa2707bca2c06895f51d50fa38218ff16aa7 (diff) |
intel_reg_dumper: use none instead of NULL if no port is assigned to TRANS_DP
Makes the output a little more readable.
-rw-r--r-- | tools/intel_reg_dumper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c index f6695a9..75b3bc1 100644 --- a/tools/intel_reg_dumper.c +++ b/tools/intel_reg_dumper.c @@ -1427,6 +1427,9 @@ DEBUGSTRING(snb_debug_trans_dp_ctl) case TRANS_DP_PORT_SEL_D: port = "D"; break; + default: + port = "none"; + break; } switch (val & (7<<9)) { |