mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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:
parent
de289fdf6f
commit
05090fc969
2 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue