Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regmap: cache: bail in regmap_async_complete() for bus-less maps
Commit f8bd822 ("regmap: cache: Factor out block sync") made regcache_rbtree_sync() call regmap_async_complete(), which in turn does not check for map->bus before dereferencing it. This causes a NULL pointer dereference on bus-less maps. Signed-off-by: Daniel Mack <zonque@gmail.com> Cc: stable@vger.kernel.org [v3.10 only] Signed-off-by: Mark Brown <broonie@linaro.org>
- Loading branch information