ALSA: hda/tas2781: remove useless dev_dbg from playback_hook
authorGergo Koteles <soyer@irl.hu>
Tue, 26 Mar 2024 16:18:48 +0000 (17:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Mar 2024 10:19:52 +0000 (11:19 +0100)
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>
Message-ID: <8b9546db6c92dea4476a7247a88d56248c2ba8c2.1711469583.git.soyer@irl.hu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/tas2781_hda_i2c.c

index f495caee38e16dcfa155f98c0147f0c923a4a140..48dae3339305048fca2262821e5ebfea6bcf237a 100644 (file)
@@ -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;
        }
 }