net: dsa: lantiq_gswip: Add 200ms assert delay
authorAleksander Jan Bajkowski <olek2@wp.pl>
Sun, 12 Sep 2021 11:58:07 +0000 (13:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Sep 2021 12:01:44 +0000 (13:01 +0100)
commit111b64e35ea03d58c882832744f571a88bb2e2e2
treef365aca6f72e294623f74867e94dcc9d0dc656e8
parente87b5052271e39d62337ade531992b7e5d8c2cfa
net: dsa: lantiq_gswip: Add 200ms assert delay

The delay is especially needed by the xRX300 and xRX330 SoCs. Without
this patch, some phys are sometimes not properly detected.

The patch was tested on BT Home Hub 5A and D-Link DWR-966.

Fixes: a09d042b0862 ("net: dsa: lantiq: allow to use all GPHYs on xRX300 and xRX330")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lantiq_gswip.c