diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-02-03 15:10:28 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:14 +0100 |
| commit | b74329644848adde30bc7614e603a1dc4a509cf8 (patch) | |
| tree | c6ab765130a0adb3a27eb367aff537f3d208c390 /scripts/patch-kernel | |
| parent | eea6d16f56e9245bbd9f62555a44d5ddbeaf8279 (diff) | |
| download | linux-b74329644848adde30bc7614e603a1dc4a509cf8.tar.gz linux-b74329644848adde30bc7614e603a1dc4a509cf8.tar.bz2 linux-b74329644848adde30bc7614e603a1dc4a509cf8.zip | |
pinctrl: cy8c95x0: Avoid accessing reserved registers
[ Upstream commit 3fbe3fe28764455e4fc3578afb9765f46f9ce93d ]
The checks for vrtual registers in the cy8c95x0_readable_register()
and cy8c95x0_writeable_register() are not aligned and broken.
Fix that by explicitly avoiding reserved registers to be accessed.
Fixes: 71e4001a0455 ("pinctrl: pinctrl-cy8c95x0: Fix regcache")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/20250203131506.3318201-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
