diff options
author | Dheeraj Reddy Jonnalagadda <dheeraj.linuxdev@gmail.com> | 2025-02-06 13:31:53 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-02-06 14:27:24 +0300 |
commit | 0a7c85b516830c0bb088b0bdb2f2c50c76fc531a (patch) | |
tree | 1bc585d434c33896ffde3d318220688f32c91e57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3c32a4386909e8023b3c49253fec33d267be16bb (diff) | |
download | linux-0a7c85b516830c0bb088b0bdb2f2c50c76fc531a.tar.xz |
regulator: ad5398: Fix incorrect power down bit mask
AD5398_SW_POWER_DOWN was defined with a bit position outside the valid
range of the device's 16-bit register. The bitwise operation with an
unsigned short would always evaluate to 0, making the power down check
ineffective.
Update AD5398_SW_POWER_DOWN to use a valid bit position within the
16-bit range of the register.
Fixes: 19d022d67d73 ("regulator: ad5398: change enable bit name to improve readibility")
Signed-off-by: Dheeraj Reddy Jonnalagadda <dheeraj.linuxdev@gmail.com>
Link: https://patch.msgid.link/20250206103153.59114-1-dheeraj.linuxdev@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions