Skip to content

Commit

Permalink
leds: aw200xx: Enable disable_locking flag in regmap config
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
geo-stark authored and lag-linaro committed Dec 13, 2023
1 parent d883a5a commit 96b43a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/leds/leds-aw200xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96b43a1

Please sign in to comment.