diff options
author | Sergei Shtylylov <sshtylyov@ru.mvista.com> | 2006-01-06 01:50:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 20:23:43 -0500 |
commit | 05090fc969be0bd1e01c3798b17fe7947fad0efa (patch) | |
tree | 4b2bcf52ced7649545448be472bfeaa8d9647589 /drivers/usb | |
parent | de289fdf6f6c51b21c94283ffa219d31e583f327 (diff) |
[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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ohci-au1xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-au1xxx.c b/drivers/usb/host/ohci-au1xxx.c index 77cd6ac07e3c..db280ca7b7a0 100644 --- a/drivers/usb/host/ohci-au1xxx.c +++ b/drivers/usb/host/ohci-au1xxx.c | |||
@@ -67,7 +67,7 @@ static void au1xxx_stop_hc(struct platform_device *dev) | |||
67 | ": stopping Au1xxx OHCI USB Controller\n"); | 67 | ": stopping Au1xxx OHCI USB Controller\n"); |
68 | 68 | ||
69 | /* Disable clock */ | 69 | /* Disable clock */ |
70 | au_writel(readl((void *)USB_HOST_CONFIG) & ~USBH_ENABLE_CE, USB_HOST_CONFIG); | 70 | au_writel(au_readl(USB_HOST_CONFIG) & ~USBH_ENABLE_CE, USB_HOST_CONFIG); |
71 | } | 71 | } |
72 | 72 | ||
73 | 73 | ||