]> Git Repo - linux.git/commitdiff
ALSA: hda/tas2781: remove useless dev_dbg from playback_hook
authorGergo Koteles <[email protected]>
Tue, 26 Mar 2024 16:18:48 +0000 (17:18 +0100)
committerTakashi Iwai <[email protected]>
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 <[email protected]>
Message-ID: <8b9546db6c92dea4476a7247a88d56248c2ba8c2.1711469583[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
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;
        }
 }
This page took 0.061642 seconds and 4 git commands to generate.