Skip to content

Commit

Permalink
usb: dwc3: core: use devm_iremap_nocache() version
Browse files Browse the repository at this point in the history
This just guarantees that this piece of memory
will be marked uncachable.

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed Aug 10, 2012
1 parent 5791150 commit b7e38aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/dwc3/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b7e38aa

Please sign in to comment.