aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorVladimir Oltean2021-12-05 01:00:35 +0200
committerRamon Fried2022-01-15 18:49:13 +0200
commit6372ece6e8cb46105cd12a901197fa7bdf637415 (patch)
treeda0ec9e5b7d79f9ccb8ee0d96a5ba230d7774a8f /drivers/net/phy
parent0fa4448d5191f9397e5acbd6c83073523cc6c4bd (diff)
net: dsa: sja1105: fix device id detection
The sja1105_check_device_id() function contains logic to work without changing the device tree on reworked boards, one of which I have (the NXP LS1021A-TSN normally has a SJA1105T, but I have a version with a resoldered SJA1105Q which is pin compatible). This logic is taken from the Linux driver. However this logic gets shortcircuited in U-Boot by an earlier check for the exact device ID specified in the device tree. So the reworked board does not probe the SJA1105Q switch. Remove this duplicated logic and let the automatic device ID detection do its job. Fixes: f24b666b2204 ("net: dsa: add driver for NXP SJA1105 L2 switch") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions