mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
regmap: fix writes to non incrementing registers
commit2e31aab08bupstream. When checking if a register block is writable we must ensure that the block does not start with or contain a non incrementing register. Fixes:8b9f9d4dc5("regmap: verify if register is writeable before writing operations") Signed-off-by: Ben Whitten <ben.whitten@gmail.com> Link: https://lore.kernel.org/r/20200118205625.14532-1-ben.whitten@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1e9353e507
commit
50069d63ae
1 changed files with 12 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue