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 <[email protected]> Signed-off-by: Dmitry Rokosov <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
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)