Skip to content

Commit

Permalink
ALSA: hda/tas2781: remove useless dev_dbg from playback_hook
Browse files Browse the repository at this point in the history
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.git.soyer@irl.hu>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
soyersoyer authored and tiwai committed Mar 27, 2024
1 parent 26c04a8 commit 1506d96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/pci/hda/tas2781_hda_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 1506d96

Please sign in to comment.