diff options
author | Quentin Schulz <quentin.schulz@cherry.de> | 2025-05-28 14:07:27 +0200 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2025-06-06 17:23:34 +0800 |
commit | b8101af3ce56a547f373d273d9ea37aefb74dc5a (patch) | |
tree | e0777d1c19d7be993a27c15ffb5fc23fa738d67d /scripts/dtc/pylibfdt/setup.py | |
parent | 210ab4f60df8d48abb475fd4dac7a9a74ffa6090 (diff) |
power: rk8xx: fix swapped mask and value in init registers for RK806
The val (the bits to set) is the second member of the reg_data structure
and mask the third one. We obviously want to clear bits 6 and 7 in order
to only set bit 7 in there instead of only clearing bit 7 in order to
write bits 6 and 7 (which makes no sense).
Fortunately, according to the datasheet, bit 6 value doesn't matter when
bit 7 is set so this is essentially just a cosmetic change, no intended
change in behavior.
Fixes: f172575d92cd ("power: rk8xx: add support for RK806")
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'scripts/dtc/pylibfdt/setup.py')
0 files changed, 0 insertions, 0 deletions