From: Tony Lindgren Date: Tue, 5 Sep 2006 14:24:30 +0000 (+0300) Subject: MUSB: Fix debug register access X-Git-Tag: v2.6.18-omap1~88^2~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=88562fcf91f0b8fb9e00dc6229317bb186ec5858;p=linux-2.6-omap-h63xx.git MUSB: Fix debug register access These accidentally got changed to readw in musb-m1 patch. Signed-off-by: Tony Lindgren --- diff --git a/drivers/usb/musb/musb_procfs.c b/drivers/usb/musb/musb_procfs.c index 2abed0a894a..674b115b96a 100644 --- a/drivers/usb/musb/musb_procfs.c +++ b/drivers/usb/musb/musb_procfs.c @@ -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,