projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5791150
)
usb: dwc3: core: use devm_iremap_nocache() version
author
Felipe Balbi
<balbi@ti.com>
Fri, 10 Aug 2012 06:16:43 +0000
(09:16 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 10 Aug 2012 06:16:43 +0000
(09:16 +0300)
This just guarantees that this piece of memory
will be marked uncachable.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/core.c
b/drivers/usb/dwc3/core.c
index
c34452a
..
4f2ef53
100644
(file)
--- a/
drivers/usb/dwc3/core.c
+++ b/
drivers/usb/dwc3/core.c
@@
-459,7
+459,7
@@
static int __devinit dwc3_probe(struct platform_device *pdev)
return -ENOMEM;
}
- regs = devm_ioremap(dev, res->start, resource_size(res));
+ regs = devm_ioremap
_nocache
(dev, res->start, resource_size(res));
if (!regs) {
dev_err(dev, "ioremap failed\n");
return -ENOMEM;