commit | f961b3abf88d2922e064a0b83525929aab917f1f | [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 | c677fb1e3196e1be1fcbbdb04650eed262708317 [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>