diff mbox series

[v2,4/4] ALSA: hda/tas2781: remove useless dev_dbg from playback_hook

Message ID 8b9546db6c92dea4476a7247a88d56248c2ba8c2.1711469583.git.soyer@irl.hu
State Accepted
Commit 1506d96119eb9454d64f5ae80ab8d04c1594ac25
Headers show
Series ALSA: hda/tas2781: fixes for 6.9-rc1 | expand

Commit Message

Gergo Koteles March 26, 2024, 4:18 p.m. UTC
The debug message "Playback action not supported: action" is not useful,
because the action was previously printed, and the list of supported
actions are intentional.

Remove the debug statement from the default switch case.

Signed-off-by: Gergo Koteles <soyer@irl.hu>
---
 sound/pci/hda/tas2781_hda_i2c.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/sound/pci/hda/tas2781_hda_i2c.c b/sound/pci/hda/tas2781_hda_i2c.c
index f495caee38e1..48dae3339305 100644
--- a/sound/pci/hda/tas2781_hda_i2c.c
+++ b/sound/pci/hda/tas2781_hda_i2c.c
@@ -161,8 +161,6 @@  static void tas2781_hda_playback_hook(struct device *dev, int action)
 		pm_runtime_put_autosuspend(dev);
 		break;
 	default:
-		dev_dbg(tas_hda->dev, "Playback action not supported: %d\n",
-			action);
 		break;
 	}
 }