Re: [PATCH v2] regmap: Skip read-only registers in regcache_sync()

From: Mark Brown
Date: Wed Mar 04 2015 - 12:09:38 EST


On Wed, Mar 04, 2015 at 03:29:17PM +0100, Takashi Iwai wrote:
> regcache_sync() spews warnings when a value was cached for a read-only
> register as it tries to write all registers no matter whether they are
> writable or not. This patch adds regmap_wrtieable() checks for
> avoiding it in regcache_sync_block_single() and regcache_block_raw().

Applied, thanks!

Attachment: signature.asc
Description: Digital signature