summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2023-03-13 10:18:11 +0300
committerMark Brown <broonie@kernel.org>2023-03-13 17:08:53 +0300
commitfd883d79e4dcd2417c2b80756f22a2ff03b0f6e0 (patch)
tree13a331915a238c0c88244a0ea325a066b7608ab5 /lib/mpi/mpiutil.c
parent83c05c97a325abdd8b4209b9c7165f1701081ba1 (diff)
downloadlinux-fd883d79e4dcd2417c2b80756f22a2ff03b0f6e0.tar.xz
regmap: cache: Return error in cache sync operations for REGCACHE_NONE
There is no sense in doing a cache sync on REGCACHE_NONE regmaps. Instead of panicking the kernel due to missing cache_ops, return an error to client driver. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Link: https://lore.kernel.org/r/20230313071812.13577-1-alexander.stein@ew.tq-group.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions