]> git.hungrycats.org Git - linux/commit
usb: typec: ucsi: Don't warn on probe deferral
authorWayne Chang <waynec@nvidia.com>
Tue, 27 Sep 2022 13:45:12 +0000 (21:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2022 07:58:29 +0000 (09:58 +0200)
commit72b67ce35bcc8e46f44bf27acbc85c29b4431af8
tree28a5545b07e9324f8a1b4824ce50d4205f58d664
parent1d5ad0a874ddfcee9f932f54b1d34cbe8b9ddcfe
usb: typec: ucsi: Don't warn on probe deferral

[ Upstream commit fce703a991b7e8c7e1371de95b9abaa832ecf9c3 ]

Deferred probe is an expected return value for fwnode_usb_role_switch_get().
Given that the driver deals with it properly, there's no need to output a
warning that may potentially confuse users.

--
V2 -> V3: remove the Fixes and Cc
V1 -> V2: adjust the coding style for better reading format.
 drivers/usb/typec/ucsi/ucsi.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Signed-off-by: Wayne Chang <waynec@nvidia.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20220927134512.2651067-1-waynec@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/typec/ucsi/ucsi.c