aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorKory Maincent <[email protected]>2025-08-20 13:33:21 +0000
committerJakub Kicinski <[email protected]>2025-08-21 14:56:08 +0000
commit7ef353879f714602b43f98662069f4fb86536761 (patch)
tree99d2ba22a18e6760db9c30ab524a92acf3c32a26 /drivers/net/ethernet/intel/igc/igc_main.c
parentnet: pse-pd: pd692x0: Fix power budget leak in manager setup error path (diff)
downloadkernel-7ef353879f714602b43f98662069f4fb86536761.tar.gz
kernel-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 <[email protected]> Acked-by: Oleksij Rempel <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions