]> git.baikalelectronics.ru Git - kernel.git/commit
fec: Do not assume that PHY reset is active low
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 24 Dec 2013 14:16:01 +0000 (12:16 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Dec 2013 03:27:00 +0000 (22:27 -0500)
commit92c00f8b42dda75e0bb0dd230bf80fe79fc9cead
tree32a7733f73cdeec7b90fd29b725134e48787ccdf
parentbc86356b90d98c1e6d6230d6ed9614a19c336f07
fec: Do not assume that PHY reset is active low

We should not assume that the PHY reset is always active low.

Retrieve this information from the device tree instead, so that the PHY reset
can work on both cases.

Reported-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c