[PATCH] USB: Au1xx0: replace casual readl() with au_readl() in the drivers
au_readl() does needed byteswapping, etc. Cc: Takashi Iwai <tiwai@suse.de> Cc: Jaroslav Kysela <perex@perex.cz> Acked-by: Jordan Crouse <jordan.crouse@amd.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
de289fdf6f
commit
05090fc969
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user