Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ivaylo Ivanov and committed by
Vinod Koul
aba7a966 d460be70

+1 -1
+1 -1
drivers/phy/phy-snps-eusb2.c
··· 408 408 if (IS_ERR(phy->base)) 409 409 return PTR_ERR(phy->base); 410 410 411 - phy->phy_reset = devm_reset_control_get_exclusive(dev, NULL); 411 + phy->phy_reset = devm_reset_control_get_optional_exclusive(dev, NULL); 412 412 if (IS_ERR(phy->phy_reset)) 413 413 return PTR_ERR(phy->phy_reset); 414 414