Skip to content
Snippets Groups Projects
Commit 22bc868e authored by Omri Itach's avatar Omri Itach Committed by Stefan Roese
Browse files

phy: marvell: cp110: initialize only enabled UTMI units


UTMI should be initialized only for enabled device tree nodes.

This fix overrides current internal configuration array
entry with the next DT entry data if error is detected
during the current DT entry parsing or the current port
is disabled.

This way the internal configuration structure will only
contain valid ports information obtained from the DT.

Change-Id: I9c43c6a5d234e15ae9005d1c9bc983fc1f3544b8
Signed-off-by: default avatarOmri Itach <omrii@marvell.com>
Signed-off-by: default avatarKen Ma <make@marvell.com>
parent 89351ba4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment