]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soundwire: bus: suppress probe deferral errors
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 12 Jul 2024 14:07:59 +0000 (16:07 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 31 Jul 2024 06:57:45 +0000 (12:27 +0530)
commitd9a2b5eaec9424e6db0142e07c1b3de17fb81b88
tree4d98e1edf66d6daee3f13663c14fafa180a19767
parent8400291e289ee6b2bf9779ff1c83a291501f017b
soundwire: bus: suppress probe deferral errors

Soundwire driver probe errors are currently being logged both by the bus
code and driver core:

wsa884x-codec sdw:4:0:0217:0204:00:0: Probe of wsa884x-codec failed: -12
wsa884x-codec sdw:4:0:0217:0204:00:0: probe with driver wsa884x-codec failed with error -12

Drop the redundant bus error message, which is also incorrectly being
logged on probe deferral:

wsa884x-codec sdw:4:0:0217:0204:00:0: Probe of wsa884x-codec failed: -517

Note that no soundwire driver uses the driver struct name field, which
will be removed by a follow-on change.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240712140801.24267-2-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus_type.c