Re: [PATCH 1/3] regmap: flat: use the cache_present bitmap
From: Mark Brown
Date: Tue Aug 13 2013 - 07:06:41 EST
On Tue, Aug 13, 2013 at 09:17:12AM +0200, Ionut Nicu wrote:
> Do you have any feedback for this patch?
Not yet, please allow some time for response especially over weekends.
> If you think the change is too complex, I have a simpler solution that could make
> things work with devices that set use_single_rw. Instead of enabling cache_bypass
> in regcache_hw_init(), we could temporarily set map->cache_type to REGCACHE_NONE
> and then call regmap_bulk_read() instead of regmap_raw_read().
Well, we probably don't want to be doing raw reads on random devices
though - they should really only be being done if the device can
actuallly support them. Too much room for confusion otherwise.
Attachment:
signature.asc
Description: Digital signature