diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2024-09-17 20:59:17 +0000 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2024-09-27 18:20:49 +0800 |
commit | 596465138175cd7e4171cad1e68a2ef7c5c002bc (patch) | |
tree | de81a19e0bb795e018e106308345cc00acb04696 /lib/mbedtls/port/assert.h | |
parent | 56b47b8b6a09c777e74fe6c52512c832691169aa (diff) |
regulator: rk8xx: Fix buck get and set enabled state on RK806
Wrong POWER_EN reg is used to get and set enabled state for the RK806
buck 4 and 8 regulators, also wrong POWER_SLP_EN0 bit is used for
suspend state for the RK806 buck 1-8 regulators.
Fix this by not adding one to the zero based buck variable.
Fixes: f172575d92cd ("power: rk8xx: add support for RK806")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Diffstat (limited to 'lib/mbedtls/port/assert.h')
0 files changed, 0 insertions, 0 deletions