Re: [PATCH] usb: host: mips: sead3: Update for EHCI register structure.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 6 Aug 2012, Steven J. Hill wrote:

> From: "Steven J. Hill" <sjhill@xxxxxxxx>
> 
> One line fix after 'struct ehci_regs' definition was changed
> in commit a46af4ebf9ffec35eea0390e89935197b833dc61.
> 
> Signed-off-by: Steven J. Hill <sjhill@xxxxxxxx>
> ---
>  drivers/usb/host/ehci-sead3.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/host/ehci-sead3.c b/drivers/usb/host/ehci-sead3.c
> index 58c96bd..0c9e43c 100644
> --- a/drivers/usb/host/ehci-sead3.c
> +++ b/drivers/usb/host/ehci-sead3.c
> @@ -40,7 +40,7 @@ static int ehci_sead3_setup(struct usb_hcd *hcd)
>  	ehci->need_io_watchdog = 0;
>  
>  	/* Set burst length to 16 words. */
> -	ehci_writel(ehci, 0x1010, &ehci->regs->reserved[1]);
> +	ehci_writel(ehci, 0x1010, &ehci->regs->reserved1[1]);
>  
>  	return ret;
>  }

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

I never thought to check if any of the platform drivers were actually 
using these reserved memory addresses.

Alan Stern




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux