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 <ivo.ivanov.ivanov1@gmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20250504144527.1723980-8-ivo.ivanov.ivanov1@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent d460be7 commit aba7a96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)