]> git.baikalelectronics.ru Git - kernel.git/commit
phy: rockchip-inno-usb2: Prevent incorrect error on probe
authorPeter Geis <pgwipeout@gmail.com>
Sat, 25 Jun 2022 21:27:11 +0000 (17:27 -0400)
committerVinod Koul <vkoul@kernel.org>
Tue, 5 Jul 2022 06:33:21 +0000 (12:03 +0530)
commita141337f14c9df731128bd0cea5f1b1be5aa131c
treeb4f25645fa6ed528015232cf7e86e940a7c39c18
parent7fcd0cfcaeddcd2aea15c69f159934e7ef0a44ce
phy: rockchip-inno-usb2: Prevent incorrect error on probe

If a phy supply is designated but isn't available at probe time, an
EPROBE_DEFER is returned. Use dev_err_probe to prevent this from
incorrectly printing during boot.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: https://lore.kernel.org/r/20220625212711.558495-1-pgwipeout@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c