diff options
| author | Sergei Shtylyov <[email protected]> | 2016-03-22 19:27:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-03-22 20:07:07 +0000 |
| commit | 9a0384c020b055a555500906be8ac314c92f3998 (patch) | |
| tree | 2b4c2225e9d9b853033a17708bad40433902c69f /net/unix/af_unix.c | |
| parent | ipv4: initialize flowi4_flags before calling fib_lookup() (diff) | |
| download | kernel-9a0384c020b055a555500906be8ac314c92f3998.tar.gz kernel-9a0384c020b055a555500906be8ac314c92f3998.zip | |
macb: fix PHY reset
The driver calls gpiod_set_value() with GPIOD_OUT_* instead of 0 and 1, as
a result the PHY isn't really put back into reset state in macb_remove().
Moreover, the driver assumes that something else has set the GPIO direction
to output, so if it has not, the PHY may not be taken out of reset in
macb_probe() either...
Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
