Re: [PATCH] regulator: ti-abb: Add support for interleaved LDOregisters

From: Mark Brown
Date: Tue Jan 21 2014 - 13:56:08 EST


On Thu, Jan 16, 2014 at 01:32:30PM -0600, Nishanth Menon wrote:

> - abb->base = devm_ioremap_resource(dev, res);

> + abb->base = devm_ioremap_nocache(dev, res->start, resource_size(res));

devm_ioremap_resouce() should do the right thing if the memory region is
marked as uncacheable (with IORESOURCE_CACHEABLE not set). Since I
can't see the OF code actually setting that flag on the resources unless
I'm missing something this change isn't needed?

Attachment: signature.asc
Description: Digital signature