From: George Stark Date: Sat, 25 Nov 2023 20:05:15 +0000 (+0300) Subject: leds: aw200xx: Enable disable_locking flag in regmap config X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=96b43a108bd689159486e97cb5a8b0170fa46657;p=linux.git leds: aw200xx: Enable disable_locking flag in regmap config In the driver regmap is always used under mutex so regmap's inner lock can be disabled. Signed-off-by: George Stark Signed-off-by: Dmitry Rokosov Reviewed-by: Andy Shevchenko Link: https://lore.kernel.org/r/20231125200519.1750-8-ddrokosov@salutedevices.com Signed-off-by: Lee Jones --- diff --git a/drivers/leds/leds-aw200xx.c b/drivers/leds/leds-aw200xx.c index d4877722eb564..220860258dec2 100644 --- a/drivers/leds/leds-aw200xx.c +++ b/drivers/leds/leds-aw200xx.c @@ -526,6 +526,7 @@ static const struct regmap_config aw200xx_regmap_config = { .rd_table = &aw200xx_readable_table, .wr_table = &aw200xx_writeable_table, .cache_type = REGCACHE_MAPLE, + .disable_locking = true, }; static int aw200xx_probe(struct i2c_client *client)