[PATCH] USB: Au1xx0: replace casual readl() with au_readl() in the drivers

au_readl() does needed byteswapping, etc.

Cc: Takashi Iwai <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Acked-by: Jordan Crouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Sergei Shtylylov 2006-01-05 22:50:39 -08:00 • committed by Greg Kroah-Hartman
commit 05090fc969
2 changed files with 7 additions and 7 deletions

View file

@ -67,7 +67,7 @@ static void au1xxx_stop_hc(struct platform_device *dev)
": stopping Au1xxx OHCI USB Controller\n");
/* Disable clock */
au_writel(readl((void *)USB_HOST_CONFIG) & ~USBH_ENABLE_CE, USB_HOST_CONFIG);
au_writel(au_readl(USB_HOST_CONFIG) & ~USBH_ENABLE_CE, USB_HOST_CONFIG);
}