Loading drivers/phy/phy-ti-pipe3.c +15 −9 Original line number Diff line number Diff line Loading @@ -294,6 +294,8 @@ static int ti_pipe3_probe(struct platform_device *pdev) phy->dev = &pdev->dev; if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) { phy->wkupclk = devm_clk_get(phy->dev, "wkupclk"); if (IS_ERR(phy->wkupclk)) { dev_err(&pdev->dev, "unable to get wkupclk\n"); Loading @@ -305,6 +307,10 @@ static int ti_pipe3_probe(struct platform_device *pdev) dev_err(&pdev->dev, "unable to get refclk\n"); return PTR_ERR(phy->refclk); } } else { phy->wkupclk = ERR_PTR(-ENODEV); phy->refclk = ERR_PTR(-ENODEV); } phy->sys_clk = devm_clk_get(phy->dev, "sysclk"); if (IS_ERR(phy->sys_clk)) { Loading Loading
drivers/phy/phy-ti-pipe3.c +15 −9 Original line number Diff line number Diff line Loading @@ -294,6 +294,8 @@ static int ti_pipe3_probe(struct platform_device *pdev) phy->dev = &pdev->dev; if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) { phy->wkupclk = devm_clk_get(phy->dev, "wkupclk"); if (IS_ERR(phy->wkupclk)) { dev_err(&pdev->dev, "unable to get wkupclk\n"); Loading @@ -305,6 +307,10 @@ static int ti_pipe3_probe(struct platform_device *pdev) dev_err(&pdev->dev, "unable to get refclk\n"); return PTR_ERR(phy->refclk); } } else { phy->wkupclk = ERR_PTR(-ENODEV); phy->refclk = ERR_PTR(-ENODEV); } phy->sys_clk = devm_clk_get(phy->dev, "sysclk"); if (IS_ERR(phy->sys_clk)) { Loading