diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-08-21 10:26:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-21 18:32:54 +0200 |
commit | c594b7f21d7d02115e828db46fddbba1da7ed1b8 (patch) | |
tree | 740cf7fcf625474232fb88cae236f292dac6f31f /drivers/leds | |
parent | regmap: Silence warning on invalid zero length read (diff) | |
download | linux-c594b7f21d7d02115e828db46fddbba1da7ed1b8.tar.xz linux-c594b7f21d7d02115e828db46fddbba1da7ed1b8.zip |
regmap: Fix regmap_bulk_write for bus writes
The regmap config does not prohibit val_bytes that are not powers of
two. But the current code of regmap_bulk_write for use_single_rw does
limit the possible val_bytes to 1, 2 and 4.
This patch fixes the behaviour to allow bus writes with non-standard
val_bytes sizes.
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions