Преглед изворни кода

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>
Felipe Balbi пре 13 година
родитељ
комит
b7e38aa67d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/usb/dwc3/core.c

+ 1 - 1
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;