]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
phy: allwinner: phy-sun4i-usb: Add log when probing
authorQuentin Schulz <quentin.schulz@free-electrons.com>
Tue, 4 Jul 2017 12:37:03 +0000 (14:37 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 21 Jul 2017 07:36:30 +0000 (13:06 +0530)
commite7cded27261297fb0d1fc53cad3c0e033d6a2c27
tree194f62344acfab0396e2009103d3ec515c85c120
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
phy: allwinner: phy-sun4i-usb: Add log when probing

When phy-sun4i-usb's probing fails, it does not print the reason in
kernel log, forcing the developer to edit this driver to add info logs.
This commit makes the kernel print the reason of phy-sun4i-usb's probing
failure or a success message.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Tested-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/allwinner/phy-sun4i-usb.c