kernel_optimize_test/drivers/base/regmap
Nikita Yushchenko f0aa1ce625 regmap: fix deadlock on _regmap_raw_write() error path
Commit 815806e39b ("regmap: drop cache if the bus transfer error")
added a call to regcache_drop_region() to error path in
_regmap_raw_write(). However that path runs with regmap lock taken,
and regcache_drop_region() tries to re-take it, causing a deadlock.
Fix that by calling map->cache_ops->drop() directly.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-09-22 11:24:22 +01:00
..
internal.h
Kconfig
Makefile
regcache-flat.c
regcache-lzo.c
regcache-rbtree.c
regcache.c
regmap-ac97.c
regmap-debugfs.c
regmap-i2c.c
regmap-irq.c
regmap-mmio.c
regmap-spi.c
regmap-spmi.c
regmap.c regmap: fix deadlock on _regmap_raw_write() error path 2016-09-22 11:24:22 +01:00
trace.h