summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorGeorge Stark <gnstark@salutedevices.com>2023-11-25 23:05:15 +0300
committerLee Jones <lee@kernel.org>2023-12-13 11:28:59 +0000
commit96b43a108bd689159486e97cb5a8b0170fa46657 (patch)
tree5ed21233d75b07c1f7dda34057fdb65fa3404530 /drivers/leds
parentd883a5ab2f345c2adca781901731795ab94886fb (diff)
downloadlinux-96b43a108bd689159486e97cb5a8b0170fa46657.tar.gz
linux-96b43a108bd689159486e97cb5a8b0170fa46657.tar.bz2
linux-96b43a108bd689159486e97cb5a8b0170fa46657.zip
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-aw200xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-aw200xx.c b/drivers/leds/leds-aw200xx.c
index d4877722eb56..220860258dec 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)