]> git.baikalelectronics.ru Git - kernel.git/commit
net: usb: asix: ax88772: suspend PHY on driver probe
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 29 Jun 2021 04:43:05 +0000 (06:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jul 2021 18:12:13 +0000 (11:12 -0700)
commit835bf0f5ebba15da71050b2fef7f8d73449dcb15
treee0f6c6cb759e2be314ff2cfc0651fe40d075bd48
parent6daa2bbda4972b1cf94fea5e9ecb66b87794e748
net: usb: asix: ax88772: suspend PHY on driver probe

After probe/bind sequence is the PHY in active state, even if interface
is stopped. As result, on some systems like Samsung Exynos5250 SoC based Arndale
board, the ASIX PHY will be able to negotiate the link but fail to
transmit the data.

To handle it, suspend the PHY on probe.

Fixes: 1259b629c90b ("net: usb: asix: ax88772: add phylib support")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix_devices.c