Commit b7e38aa6 authored by Felipe Balbi's avatar Felipe Balbi

usb: dwc3: core: use devm_iremap_nocache() version

This just guarantees that this piece of memory
will be marked uncachable.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 57911504
...@@ -459,7 +459,7 @@ static int __devinit dwc3_probe(struct platform_device *pdev) ...@@ -459,7 +459,7 @@ static int __devinit dwc3_probe(struct platform_device *pdev)
return -ENOMEM; return -ENOMEM;
} }
regs = devm_ioremap(dev, res->start, resource_size(res)); regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
if (!regs) { if (!regs) {
dev_err(dev, "ioremap failed\n"); dev_err(dev, "ioremap failed\n");
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment