Commit 0719bc3
net: fec: do not double-parse 'phy-reset-active-high' property
Conversion to gpiod API done in commit 468ba54 ("fec: convert
to gpio descriptor") clashed with gpiolib applying the same quirk to the
reset GPIO polarity (introduced in commit b02c85c). 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: 468ba54 ("fec: convert to gpio descriptor")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230201215320.528319-2-dmitry.torokhov@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent d7b5e5d commit 0719bc3
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4036 | 4036 | | |
4037 | 4037 | | |
4038 | 4038 | | |
4039 | | - | |
4040 | 4039 | | |
4041 | 4040 | | |
4042 | 4041 | | |
| |||
4054 | 4053 | | |
4055 | 4054 | | |
4056 | 4055 | | |
4057 | | - | |
4058 | | - | |
4059 | 4056 | | |
4060 | | - | |
| 4057 | + | |
4061 | 4058 | | |
4062 | 4059 | | |
4063 | 4060 | | |
| |||
4070 | 4067 | | |
4071 | 4068 | | |
4072 | 4069 | | |
4073 | | - | |
| 4070 | + | |
4074 | 4071 | | |
4075 | 4072 | | |
4076 | 4073 | | |
| |||
0 commit comments