提交 b7e38aa6 编写于 作者: F 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: NFelipe Balbi <balbi@ti.com>
上级 57911504
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册