aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDavid Rivshin <[email protected]>2016-04-27 21:25:25 -0400
committerDavid S. Miller <[email protected]>2016-04-28 17:27:29 -0400
commit552165bcf7060b998b4a9b5b86110b6a5e04dfd9 (patch)
tree06f54489122fed2183bffcff17c9e2327210b24f /tools/perf/util/scripting-engines/trace-event-python.c
parentbbdd09ebd7ce87d2122fcc7d97f35a4f8931bc55 (diff)
drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config
Commit 9e42f715264ff158478fa30eaed847f6e131366b ("drivers: net: cpsw: add phy-handle parsing") saved the "phy-handle" phandle into a new cpsw_priv field. However, phy connections are per-slave, so the phy_node field should be in cpsw_slave_data rather than cpsw_priv. This would go unnoticed in a single emac configuration. But in dual_emac mode, the last "phy-handle" property parsed for either slave would be used by both of them, causing them both to refer to the same phy_device. Fixes: 9e42f715264f ("drivers: net: cpsw: add phy-handle parsing") Signed-off-by: David Rivshin <[email protected]> Tested-by: Nicolas Chauvet <[email protected]> Tested-by: Andrew Goodbody <[email protected]> Reviewed-by: Mugunthan V N <[email protected]> Reviewed-by: Grygorii Strashko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions