X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fpatches-5.4%2F0004-phy-add-ath79-usb-phys.patch;fp=target%2Flinux%2Fath79%2Fpatches-5.4%2F0004-phy-add-ath79-usb-phys.patch;h=e319f738a5a4bc13deb7e2b76bce0ac2f60b8fde;hb=1d9812f48aa1f57a8917d3351f0a4f7c8d559755;hp=7956edb937a5f97d2d176b3e67aa7859f046d43d;hpb=880c1f0336616b0b5692ff284f83923011c548f2;p=openwrt%2F.git diff --git a/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch b/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch index 7956edb937..e319f738a5 100644 --- a/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch +++ b/target/linux/ath79/patches-5.4/0004-phy-add-ath79-usb-phys.patch @@ -194,7 +194,7 @@ Signed-off-by: John Crispin +MODULE_LICENSE("GPL"); --- /dev/null +++ b/drivers/phy/phy-ar7200-usb.c -@@ -0,0 +1,135 @@ +@@ -0,0 +1,136 @@ +/* + * Copyright (C) 2015 Alban Bedel + * @@ -265,7 +265,8 @@ Signed-off-by: John Crispin + + priv->rst_phy = devm_reset_control_get(&pdev->dev, "usb-phy"); + if (IS_ERR(priv->rst_phy)) { -+ dev_err(&pdev->dev, "phy reset is missing\n"); ++ if (PTR_ERR(priv->rst_phy) != -EPROBE_DEFER) ++ dev_err(&pdev->dev, "phy reset is missing\n"); + return PTR_ERR(priv->rst_phy); + } +