Commit d4eda9d8 authored by Miquel Raynal's avatar Miquel Raynal Committed by Kishon Vijay Abraham I
Browse files

phy: mvebu-cp110-comphy: Explicitly initialize the lane submode



Explicitly set the lane submode (enum) to a known invalid value.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 0629d57b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -715,6 +715,7 @@ static int mvebu_comphy_probe(struct platform_device *pdev)

		lane->priv = priv;
		lane->mode = PHY_MODE_INVALID;
		lane->submode = PHY_INTERFACE_MODE_NA;
		lane->id = val;
		lane->port = -1;
		phy_set_drvdata(phy, lane);