diff options
author | Kory Maincent <[email protected]> | 2024-10-02 14:17:05 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-04 13:14:18 -0700 |
commit | dda3529d2e84e2ee7b97158c9cdf5e10308f37bc (patch) | |
tree | 1a3870a56f742245f917929e5e669128ede292ab /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9f49d14ec41ce7be647028d7d34dea727af55272 (diff) |
net: pse-pd: Fix enabled status mismatch
PSE controllers like the TPS23881 can forcefully turn off their
configuration state. In such cases, the is_enabled() and get_status()
callbacks will report the PSE as disabled, while admin_state_enabled
will show it as enabled. This mismatch can lead the user to attempt
to enable it, but no action is taken as admin_state_enabled remains set.
The solution is to disable the PSE before enabling it, ensuring the
actual status matches admin_state_enabled.
Fixes: d83e13761d5b ("net: pse-pd: Use regulator framework within PSE framework")
Signed-off-by: Kory Maincent <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions