]> git.dujemihanovic.xyz Git - u-boot.git/commit
eth: asix88179: reset during probe
authorCaleb Connolly <caleb.connolly@linaro.org>
Tue, 18 Jun 2024 14:57:57 +0000 (16:57 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 13 Jul 2024 17:51:16 +0000 (19:51 +0200)
commit1bd136715a4d3a8e44ccbe693e4c2a9010efb342
tree6c985415d7b6c5f6e0e8b37896ad755d4480b729
parentb182816c1fb436916661949213c543bf4d42250b
eth: asix88179: reset during probe

In some cases (consistently in my case with an embedded board) the
ethernet controller will time out on the first init but always succeed
after reset.

Let's reset the controller during probe so we always start with it in a
known state, and don't have wait for the first asix_wait_link() to
time out.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
drivers/usb/eth/asix88179.c