USB: musb: use correct register widths in register dumps
authorAnand Gadiyar <gadiyar@ti.com>
Thu, 8 Jul 2010 08:32:59 +0000 (14:02 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:38 +0000 (14:35 -0700)
DMA_ADDR and DMA_COUNT are 32-bit registers, not 16-bit.

Marking them as 16-bit in the table causes only the lower
16-bits to be dumped and this is misleading.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_debugfs.c

index bba76af0c0c6d7107c08c60e966194e778c24c0f..c79a5e30d43735bb285300152ade427fd81dac6a 100644 (file)
@@ -92,29 +92,29 @@ static const struct musb_register_map musb_regmap[] = {
        { "LS_EOF1",            0x7E,   8 },
        { "SOFT_RST",           0x7F,   8 },
        { "DMA_CNTLch0",        0x204,  16 },
-       { "DMA_ADDRch0",        0x208,  16 },
-       { "DMA_COUNTch0",       0x20C,  16 },
+       { "DMA_ADDRch0",        0x208,  32 },
+       { "DMA_COUNTch0",       0x20C,  32 },
        { "DMA_CNTLch1",        0x214,  16 },
-       { "DMA_ADDRch1",        0x218,  16 },
-       { "DMA_COUNTch1",       0x21C,  16 },
+       { "DMA_ADDRch1",        0x218,  32 },
+       { "DMA_COUNTch1",       0x21C,  32 },
        { "DMA_CNTLch2",        0x224,  16 },
-       { "DMA_ADDRch2",        0x228,  16 },
-       { "DMA_COUNTch2",       0x22C,  16 },
+       { "DMA_ADDRch2",        0x228,  32 },
+       { "DMA_COUNTch2",       0x22C,  32 },
        { "DMA_CNTLch3",        0x234,  16 },
-       { "DMA_ADDRch3",        0x238,  16 },
-       { "DMA_COUNTch3",       0x23C,  16 },
+       { "DMA_ADDRch3",        0x238,  32 },
+       { "DMA_COUNTch3",       0x23C,  32 },
        { "DMA_CNTLch4",        0x244,  16 },
-       { "DMA_ADDRch4",        0x248,  16 },
-       { "DMA_COUNTch4",       0x24C,  16 },
+       { "DMA_ADDRch4",        0x248,  32 },
+       { "DMA_COUNTch4",       0x24C,  32 },
        { "DMA_CNTLch5",        0x254,  16 },
-       { "DMA_ADDRch5",        0x258,  16 },
-       { "DMA_COUNTch5",       0x25C,  16 },
+       { "DMA_ADDRch5",        0x258,  32 },
+       { "DMA_COUNTch5",       0x25C,  32 },
        { "DMA_CNTLch6",        0x264,  16 },
-       { "DMA_ADDRch6",        0x268,  16 },
-       { "DMA_COUNTch6",       0x26C,  16 },
+       { "DMA_ADDRch6",        0x268,  32 },
+       { "DMA_COUNTch6",       0x26C,  32 },
        { "DMA_CNTLch7",        0x274,  16 },
-       { "DMA_ADDRch7",        0x278,  16 },
-       { "DMA_COUNTch7",       0x27C,  16 },
+       { "DMA_ADDRch7",        0x278,  32 },
+       { "DMA_COUNTch7",       0x27C,  32 },
        {  }    /* Terminating Entry */
 };