]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soundwire: bus: demote UNATTACHED state warnings to dev_dbg()
authorCole Leavitt <cole@unwrap.rs>
Wed, 18 Feb 2026 18:02:10 +0000 (11:02 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 9 Mar 2026 07:03:20 +0000 (08:03 +0100)
commit2c96956fe764f8224f9ec93b2a9160a578949a7a
tree4d44151f3e81bf096f12d095e3792ff2028cb286
parentfee12f3c20dd5902dbd95eb41f80d3fba89336d7
soundwire: bus: demote UNATTACHED state warnings to dev_dbg()

The dev_warn() messages in sdw_handle_slave_status() for UNATTACHED
transitions were added in commit d1b328557058 ("soundwire: bus: add
dev_warn() messages to track UNATTACHED devices") to debug attachment
failures with dynamic debug enabled.

These warnings fire during normal operation -- for example when a codec
driver triggers a hardware reset after firmware download, causing the
device to momentarily go UNATTACHED before re-attaching -- producing
misleading noise on every boot.

Demote the messages to dev_dbg() so they remain available via dynamic
debug for diagnosing real attachment failures without alarming users
during expected initialization sequences.

Fixes: d1b328557058 ("soundwire: bus: add dev_warn() messages to track UNATTACHED devices")
Signed-off-by: Cole Leavitt <cole@unwrap.rs>
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260218180210.9263-1-cole@unwrap.rs
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus.c