aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/core.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-08-10 09:16:43 +0300
committerFelipe Balbi <balbi@ti.com>2012-08-10 09:16:43 +0300
commitb7e38aa67d73cbb9d5d2e1e5de379f473fa7d7bf (patch)
tree3f14cde2148c659fd46e02e6b27f750d95b0bc08 /drivers/usb/dwc3/core.c
parent57911504a93909034ba5b90c20f3e6df8409ebd8 (diff)
usb: dwc3: core: use devm_iremap_nocache() version
This just guarantees that this piece of memory will be marked uncachable. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/core.c')
-rw-r--r--drivers/usb/dwc3/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index c34452a7304..4f2ef534539 100644
--- 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;