summaryrefslogtreecommitdiffstats
path: root/lib/rbtree.c
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2024-09-02 09:28:58 +0200
committerLinus Walleij <linus.walleij@linaro.org>2024-09-13 13:14:18 +0200
commit71e4001a0455ec2b6218715c81f374f1ab8b1b12 (patch)
tree7c41e080ed65adb9b39574d9274006236150c46b /lib/rbtree.c
parentMerge tag 'intel-pinctrl-v6.11-1' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadlinux-71e4001a0455ec2b6218715c81f374f1ab8b1b12.tar.xz
linux-71e4001a0455ec2b6218715c81f374f1ab8b1b12.zip
pinctrl: pinctrl-cy8c95x0: Fix regcache
The size of the mux stride was off by one, which could result in invalid pin configuration on the device side or invalid state readings on the software side. While on it also update the code and: - Increase the mux stride size to 16 - Align the virtual muxed regmap range to 16 - Start the regmap window at the selector - Mark reserved registers as not-readable Fixes: 8670de9fae49 ("pinctrl: cy8c95x0: Use regmap ranges") Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reported-by: Andy Shevchenko <andy@kernel.org> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://lore.kernel.org/20240902072859.583490-1-patrick.rudolph@9elements.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions