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

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

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
This commit is contained in:
Miquel Raynal 2019-07-31 14:21:09 +02:00 committed by Kishon Vijay Abraham I
parent 0629d57bbd
commit d4eda9d847
1 changed files with 1 additions and 0 deletions

View File

@ -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);