]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88798e993752e8c657d56093f082bab19d8abe2c
treef365aca6f72e294623f74867e94dcc9d0dc656e8
parent42735072ebcff3a12bd323643d7fc3048b292611
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: dcf121824563 ("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