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:Omri Itach <omrii@marvell.com> Signed-off-by:
Ken Ma <make@marvell.com>
Loading
Please register or sign in to comment