Commit 88562fcf authored by Tony Lindgren's avatar Tony Lindgren

MUSB: Fix debug register access

These accidentally got changed to readw in musb-m1 patch.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent e5bb0284
......@@ -277,9 +277,9 @@ dump_end_info(struct musb *pThis, u8 bEnd, char *aBuffer, unsigned max)
"\n",
bEnd,
musb_readw(regs, MGC_O_HDRC_RXCSR),
musb_readw(regs, MGC_O_HDRC_RXINTERVAL),
musb_readb(regs, MGC_O_HDRC_RXINTERVAL),
musb_readw(regs, MGC_O_HDRC_RXMAXP),
musb_readw(regs, MGC_O_HDRC_RXTYPE),
musb_readb(regs, MGC_O_HDRC_RXTYPE),
/* FIXME: assumes multipoint */
musb_readb(pThis->pRegs,
MGC_BUSCTL_OFFSET(bEnd,
......@@ -362,9 +362,9 @@ dump_end_info(struct musb *pThis, u8 bEnd, char *aBuffer, unsigned max)
"\n",
bEnd,
musb_readw(regs, MGC_O_HDRC_TXCSR),
musb_readw(regs, MGC_O_HDRC_TXINTERVAL),
musb_readb(regs, MGC_O_HDRC_TXINTERVAL),
musb_readw(regs, MGC_O_HDRC_TXMAXP),
musb_readw(regs, MGC_O_HDRC_TXTYPE),
musb_readb(regs, MGC_O_HDRC_TXTYPE),
/* FIXME: assumes multipoint */
musb_readb(pThis->pRegs,
MGC_BUSCTL_OFFSET(bEnd,
......
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