mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
ALSA: pci: pcxhr: use snd_pcm_direction_name()
We already have snd_pcm_direction_name(). Let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87v80nk52q.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
e469e2045f
commit
7ca1d0ed1a
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ int hr222_update_analog_audio_level(struct snd_pcxhr *chip,
|
|||
{
|
||||
dev_dbg(chip->card->dev,
|
||||
"hr222_update_analog_audio_level(%s chan=%d)\n",
|
||||
is_capture ? "capture" : "playback", channel);
|
||||
snd_pcm_direction_name(is_capture), channel);
|
||||
if (is_capture) {
|
||||
int level_l, level_r, level_mic;
|
||||
/* we have to update all levels */
|
||||
|
|
Loading…
Reference in a new issue