From 88562fcf91f0b8fb9e00dc6229317bb186ec5858 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Tue, 5 Sep 2006 17:24:30 +0300 Subject: [PATCH] MUSB: Fix debug register access These accidentally got changed to readw in musb-m1 patch. Signed-off-by: Tony Lindgren --- drivers/usb/musb/musb_procfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, -- 2.41.1