Skip to content

Commit aba7a96

Browse files
ivoszbgvinodkoul
authored andcommitted
phy: phy-snps-eusb2: make reset control optional
Not all SoCs expose the reset line controls to the kernel, so make them optional. Signed-off-by: Ivaylo Ivanov <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent d460be7 commit aba7a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/phy/phy-snps-eusb2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ static int snps_eusb2_hsphy_probe(struct platform_device *pdev)
408408
if (IS_ERR(phy->base))
409409
return PTR_ERR(phy->base);
410410

411-
phy->phy_reset = devm_reset_control_get_exclusive(dev, NULL);
411+
phy->phy_reset = devm_reset_control_get_optional_exclusive(dev, NULL);
412412
if (IS_ERR(phy->phy_reset))
413413
return PTR_ERR(phy->phy_reset);
414414

0 commit comments

Comments
 (0)