summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regmap-sdw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/regmap/regmap-sdw.c')
-rw-r--r--drivers/base/regmap/regmap-sdw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/regmap/regmap-sdw.c b/drivers/base/regmap/regmap-sdw.c
index 09899ae99fc1..159c0b740b00 100644
--- a/drivers/base/regmap/regmap-sdw.c
+++ b/drivers/base/regmap/regmap-sdw.c
@@ -59,6 +59,10 @@ static int regmap_sdw_config_check(const struct regmap_config *config)
if (config->pad_bits != 0)
return -ENOTSUPP;
+ /* Only bulk writes are supported not multi-register writes */
+ if (config->can_multi_write)
+ return -ENOTSUPP;
+
return 0;
}