diff options
author | Giuseppe Cavallaro <peppe.cavallaro@st.com> | 2016-02-29 13:27:39 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-02 19:21:33 (GMT) |
commit | 8e99fc5f887a072ee023eb9a3240eba85e768734 (patch) | |
tree | 5a7d88fb771c0dd5ecefb9cd1536c2fbc6f7a865 /drivers/spi/spi-pxa2xx.h | |
parent | 0e80bdc9a72df3b31a9fc2012102a6cc8d664e93 (diff) | |
download | linux-8e99fc5f887a072ee023eb9a3240eba85e768734.tar.xz |
stmmac: do not poll phy handler when attach a switch
This patch avoids to call the stmmac_adjust_link when
the driver is connected to a switch by using the FIXED_PHY
support. Prior this patch the phydev->irq was set as PHY_POLL
so periodically the phy handler was invoked spending useless
time because the link cannot actually change.
Note that the stmmac_adjust_link will be called just one
time and this guarantees that the ST glue logic will be
setup according to the mode and speed fixed.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
0 files changed, 0 insertions, 0 deletions