aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKory Maincent <kory.maincent@bootlin.com>2025-08-20 15:33:21 +0200
committerJakub Kicinski <kuba@kernel.org>2025-08-21 07:56:08 -0700
commit7ef353879f714602b43f98662069f4fb86536761 (patch)
tree99d2ba22a18e6760db9c30ab524a92acf3c32a26 /tools/perf/scripts/python
parentnet: pse-pd: pd692x0: Fix power budget leak in manager setup error path (diff)
downloadwireguard-linux-7ef353879f714602b43f98662069f4fb86536761.tar.xz
wireguard-linux-7ef353879f714602b43f98662069f4fb86536761.zip
net: pse-pd: pd692x0: Skip power budget configuration when undefined
If the power supply's power budget is not defined in the device tree, the current code still requests power and configures the PSE manager with a 0W power limit, which is undesirable behavior. Skip power budget configuration entirely when the budget is zero, avoiding unnecessary power requests and preventing invalid 0W limits from being set on the PSE manager. Fixes: 359754013e6a ("net: pse-pd: pd692x0: Add support for PSE PI priority feature") Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Acked-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://patch.msgid.link/20250820133321.841054-1-kory.maincent@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions