Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336268
b: refs/heads/master
c: 42cd95a
h: refs/heads/master
v: v3
  • Loading branch information
Johan Rudholm authored and Chris Ball committed Dec 6, 2012
1 parent e569b3d commit 0f8980e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8363c374145b69bb177ed7e658a2b22f9c64910f
refs/heads/master: 42cd95a0603e0497e7221816bb5ddfe861ee9325
16 changes: 16 additions & 0 deletions trunk/drivers/mmc/core/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,22 @@ static int mmc_ios_show(struct seq_file *s, void *data)
}
seq_printf(s, "timing spec:\t%u (%s)\n", ios->timing, str);

switch (ios->signal_voltage) {
case MMC_SIGNAL_VOLTAGE_330:
str = "3.30 V";
break;
case MMC_SIGNAL_VOLTAGE_180:
str = "1.80 V";
break;
case MMC_SIGNAL_VOLTAGE_120:
str = "1.20 V";
break;
default:
str = "invalid";
break;
}
seq_printf(s, "signal voltage:\t%u (%s)\n", ios->chip_select, str);

return 0;
}

Expand Down

0 comments on commit 0f8980e

Please sign in to comment.