Skip to content
Commit 93c3a96c authored by Kory Maincent's avatar Kory Maincent Committed by Jakub Kicinski
Browse files

net: pse-pd: Do not return EOPNOSUPP if config is null



For a PSE supporting both c33 and PoDL, setting config for one type of PoE
leaves the other type's config null. Currently, this case returns
EOPNOTSUPP, which is incorrect. Instead, we should do nothing if the
configuration is empty.

Signed-off-by: default avatarKory Maincent <kory.maincent@bootlin.com>
Fixes: d83e1376 ("net: pse-pd: Use regulator framework within PSE framework")
Link: https://patch.msgid.link/20240711-fix_pse_pd_deref-v3-1-edd78fc4fe42@bootlin.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 70c676cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment