]> www.infradead.org Git - users/jedix/linux-maple.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>
Mon, 3 Mar 2025 09:24:24 +0000 (10:24 +0100)
commitc16006852732dc4fe37c14b81f9b4458df05b832
treead6771e4675ec5349e07ab79558f079b2ab926f9
parentc8c35b6cdb781398015340aa08edf26d2d381e56
ucsi_ccg: Don't show failed to get FW build information error

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>
drivers/usb/typec/ucsi/ucsi_ccg.c