commit | 2141ad4a5f48a3895499253c6eaa6e110a378077 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Thu Apr 07 00:33:05 2022 +0200 |
committer | Ramon Fried <ramon@neureality.ai> | Sun Apr 10 08:44:13 2022 +0300 |
tree | 3dab8dbda4366c1619349f427efc8d2ba0f0a8d4 | |
parent | 8758453fa156782cf5834e6bb3be50e4cdcd94e2 [diff] |
net: phy: xilinx: Check interface type in ->config(), not ->probe() We want to be able to have phydev->interface uninitialized during ->probe(). We should assume that phydev->interface is initialized only before ->config(). Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>