projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8418153
)
usb: gadget: mv_udc: fix readl error
author
Neil Zhang
<zhangwm@marvell.com>
Thu, 15 Dec 2011 11:26:38 +0000
(19:26 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 19 Dec 2011 08:02:16 +0000
(10:02 +0200)
readl expected 'const volatile void *' as the argument.
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/mv_udc_core.c
b/drivers/usb/gadget/mv_udc_core.c
index b229edeb2bb6cc958e5ecd1c0b85bf34fe60a6ee..635ee47dd4eb9d82fe19e9f727ebc568c64f6960 100644
(file)
--- a/
drivers/usb/gadget/mv_udc_core.c
+++ b/
drivers/usb/gadget/mv_udc_core.c
@@
-1196,7
+1196,7
@@
static int mv_udc_get_frame(struct usb_gadget *gadget)
udc = container_of(gadget, struct mv_udc, gadget);
- retval = readl(udc->op_regs->frindex) & USB_FRINDEX_MASKS;
+ retval = readl(
&
udc->op_regs->frindex) & USB_FRINDEX_MASKS;
return retval;
}