]> www.infradead.org Git - users/jedix/linux-maple.git/commit
of: property: Make 'no port node found' output a debug message
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 17 Jan 2024 08:32:06 +0000 (09:32 +0100)
committerRob Herring <robh@kernel.org>
Mon, 22 Jan 2024 14:00:35 +0000 (08:00 -0600)
commite20cd62b1f1708a4dec7ff4beb9e748a0bdb5716
tree4aa3155de03115d42d941c1b6ff915394247a5b3
parent3b8435db840cde070fa78a777fa20b098b9abc87
of: property: Make 'no port node found' output a debug message

There are cases where an unavailable port is not an error, making this
error message a false-positive. Since commit d56de8c9a17d8 ("usb: typec:
tcpm: try to get role switch from tcpc fwnode") the role switch is tried
on the port dev first and tcpc fwnode afterwards. If using the latter
bindings getting from port dev fails every time. The kernel log is flooded
with the messages like:
 OF: graph: no port node found in /soc@0/bus@42000000/i2c@42530000/usb-typec@50
Silence this message by making it a debug message.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20240117083206.2901534-1-alexander.stein@ew.tq-group.com
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/property.c