Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7e38aa6 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;