Skip to content
Commit 0719bc3a authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Jakub Kicinski
Browse files

net: fec: do not double-parse 'phy-reset-active-high' property

Conversion to gpiod API done in commit 468ba54b ("fec: convert
to gpio descriptor") clashed with gpiolib applying the same quirk to the
reset GPIO polarity (introduced in commit b02c85c9). This results in
the reset line being left active/device being left in reset state when
reset line is "active low".

Remove handling of 'phy-reset-active-high' property from the driver and
rely on gpiolib to apply needed adjustments to avoid ending up with the
double inversion/flipped logic.

Fixes: 468ba54b

 ("fec: convert to gpio descriptor")
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230201215320.528319-2-dmitry.torokhov@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent d7b5e5dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment