]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ucsi_ccg: Don't show failed to get FW build information error
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 21 Feb 2025 05:40:03 +0000 (23:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:23 +0000 (14:39 +0200)
commita17a3db6d411265d6514d60a10d899fdcf17beb8
tree347b751656a666cabea9b9cda083abcb3b65e5bf
parentd72a8585043b2d795f1f39eaea33ad768a61ccc4
ucsi_ccg: Don't show failed to get FW build information error

[ Upstream commit c16006852732dc4fe37c14b81f9b4458df05b832 ]

The error `failed to get FW build information` is added for what looks
to be for misdetection of the device property firmware-name.

If the property is missing (such as on non-nvidia HW) this error shows up.
Move the error into the scope of the property parser for "firmware-name"
to avoid showing errors on systems without the firmware-name property.

Fixes: 5c9ae5a87573d ("usb: typec: ucsi: ccg: add firmware flashing support")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250221054137.1631765-2-superm1@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/typec/ucsi/ucsi_ccg.c