2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00

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>
This commit is contained in:
Felipe Balbi 2012-08-10 09:16:43 +03:00
parent 57911504a9
commit b7e38aa67d

View File

@ -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;