This is a note to let you know that I've just added the patch titled regmap: Don't attempt block writes when syncing cache on single_rw devices to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: regmap-don-t-attempt-block-writes-when-syncing-cache-on-single_rw-devices.patch and it can be found in the queue-3.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 5c1ebe7f73f9166893c3459915db8a09d6d1d715 Mon Sep 17 00:00:00 2001 From: Mark Brown <broonie@xxxxxxxxxx> Date: Wed, 27 Aug 2014 13:09:12 +0100 Subject: regmap: Don't attempt block writes when syncing cache on single_rw devices From: Mark Brown <broonie@xxxxxxxxxx> commit 5c1ebe7f73f9166893c3459915db8a09d6d1d715 upstream. If the device can't support block writes then don't attempt to use raw syncing which will automatically generate block writes for adjacent registers, use the existing _single() block syncing implementation. Reported-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx> Tested-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/base/regmap/regcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c @@ -701,7 +701,7 @@ int regcache_sync_block(struct regmap *m unsigned int block_base, unsigned int start, unsigned int end) { - if (regmap_can_raw_write(map)) + if (regmap_can_raw_write(map) && !map->use_single_rw) return regcache_sync_block_raw(map, block, cache_present, block_base, start, end); else Patches currently in stable-queue which might be from broonie@xxxxxxxxxx are queue-3.14/regmap-fix-handling-of-volatile-registers-for-format_write-chips.patch queue-3.14/spi-dw-pci-fix-bug-when-regs-left-uninitialized.patch queue-3.14/regmap-don-t-attempt-block-writes-when-syncing-cache-on-single_rw-devices.patch queue-3.14/spi-omap-mcspi-fix-the-spi-task-hangs-waiting-dma_rx.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html