Commit 0936fb5e authored by Anand Gadiyar's avatar Anand Gadiyar Committed by Greg Kroah-Hartman

USB: musb: use correct register widths in register dumps

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: default avatarAnand Gadiyar <gadiyar@ti.com>
Acked-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarAjay Kumar Gupta <ajay.gupta@ti.com>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 402e8dd6
...@@ -92,29 +92,29 @@ static const struct musb_register_map musb_regmap[] = { ...@@ -92,29 +92,29 @@ static const struct musb_register_map musb_regmap[] = {
{ "LS_EOF1", 0x7E, 8 }, { "LS_EOF1", 0x7E, 8 },
{ "SOFT_RST", 0x7F, 8 }, { "SOFT_RST", 0x7F, 8 },
{ "DMA_CNTLch0", 0x204, 16 }, { "DMA_CNTLch0", 0x204, 16 },
{ "DMA_ADDRch0", 0x208, 16 }, { "DMA_ADDRch0", 0x208, 32 },
{ "DMA_COUNTch0", 0x20C, 16 }, { "DMA_COUNTch0", 0x20C, 32 },
{ "DMA_CNTLch1", 0x214, 16 }, { "DMA_CNTLch1", 0x214, 16 },
{ "DMA_ADDRch1", 0x218, 16 }, { "DMA_ADDRch1", 0x218, 32 },
{ "DMA_COUNTch1", 0x21C, 16 }, { "DMA_COUNTch1", 0x21C, 32 },
{ "DMA_CNTLch2", 0x224, 16 }, { "DMA_CNTLch2", 0x224, 16 },
{ "DMA_ADDRch2", 0x228, 16 }, { "DMA_ADDRch2", 0x228, 32 },
{ "DMA_COUNTch2", 0x22C, 16 }, { "DMA_COUNTch2", 0x22C, 32 },
{ "DMA_CNTLch3", 0x234, 16 }, { "DMA_CNTLch3", 0x234, 16 },
{ "DMA_ADDRch3", 0x238, 16 }, { "DMA_ADDRch3", 0x238, 32 },
{ "DMA_COUNTch3", 0x23C, 16 }, { "DMA_COUNTch3", 0x23C, 32 },
{ "DMA_CNTLch4", 0x244, 16 }, { "DMA_CNTLch4", 0x244, 16 },
{ "DMA_ADDRch4", 0x248, 16 }, { "DMA_ADDRch4", 0x248, 32 },
{ "DMA_COUNTch4", 0x24C, 16 }, { "DMA_COUNTch4", 0x24C, 32 },
{ "DMA_CNTLch5", 0x254, 16 }, { "DMA_CNTLch5", 0x254, 16 },
{ "DMA_ADDRch5", 0x258, 16 }, { "DMA_ADDRch5", 0x258, 32 },
{ "DMA_COUNTch5", 0x25C, 16 }, { "DMA_COUNTch5", 0x25C, 32 },
{ "DMA_CNTLch6", 0x264, 16 }, { "DMA_CNTLch6", 0x264, 16 },
{ "DMA_ADDRch6", 0x268, 16 }, { "DMA_ADDRch6", 0x268, 32 },
{ "DMA_COUNTch6", 0x26C, 16 }, { "DMA_COUNTch6", 0x26C, 32 },
{ "DMA_CNTLch7", 0x274, 16 }, { "DMA_CNTLch7", 0x274, 16 },
{ "DMA_ADDRch7", 0x278, 16 }, { "DMA_ADDRch7", 0x278, 32 },
{ "DMA_COUNTch7", 0x27C, 16 }, { "DMA_COUNTch7", 0x27C, 32 },
{ } /* Terminating Entry */ { } /* Terminating Entry */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment