Skip to content

Commit 96b43a1

Browse files
geo-starklag-linaro
authored andcommitted
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 <gnstark@salutedevices.com> Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20231125200519.1750-8-ddrokosov@salutedevices.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent d883a5a commit 96b43a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/leds/leds-aw200xx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ static const struct regmap_config aw200xx_regmap_config = {
526526
.rd_table = &aw200xx_readable_table,
527527
.wr_table = &aw200xx_writeable_table,
528528
.cache_type = REGCACHE_MAPLE,
529+
.disable_locking = true,
529530
};
530531

531532
static int aw200xx_probe(struct i2c_client *client)

0 commit comments

Comments
 (0)