mmc: core: add sd uhs string for mmc_ios_show
authorAaron Lu <aaron.lu@amd.com>
Fri, 2 Sep 2011 08:06:08 +0000 (16:06 +0800)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:10 +0000 (16:32 -0400)
This is a minor fix. It makes mmc_ios_show print proper string when the
host's timing is one of the newly added UHS-I modes.

Signed-off-by: Aaron Lu <aaron.lu@amd.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/debugfs.c

index 5acd707699c9816b3f0f9f983aa2e3312ef7931a..96c603b0526f5ca363e0350352f6491d3a82455a 100644 (file)
@@ -114,6 +114,15 @@ static int mmc_ios_show(struct seq_file *s, void *data)
        case MMC_TIMING_SD_HS:
                str = "sd high-speed";
                break;
+       case MMC_TIMING_UHS_SDR50:
+               str = "sd uhs SDR50";
+               break;
+       case MMC_TIMING_UHS_SDR104:
+               str = "sd uhs SDR104";
+               break;
+       case MMC_TIMING_UHS_DDR50:
+               str = "sd uhs DDR50";
+               break;
        default:
                str = "invalid";
                break;