Skip to content

Commit 1506d96

Browse files
soyersoyertiwai
authored andcommitted
ALSA: hda/tas2781: remove useless dev_dbg from playback_hook
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]>
1 parent 26c04a8 commit 1506d96

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sound/pci/hda/tas2781_hda_i2c.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ static void tas2781_hda_playback_hook(struct device *dev, int action)
161161
pm_runtime_put_autosuspend(dev);
162162
break;
163163
default:
164-
dev_dbg(tas_hda->dev, "Playback action not supported: %d\n",
165-
action);
166164
break;
167165
}
168166
}

0 commit comments

Comments
 (0)