diff options
Diffstat (limited to 'sound/pci/pcxhr/pcxhr_mixer.c')
-rw-r--r-- | sound/pci/pcxhr/pcxhr_mixer.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sound/pci/pcxhr/pcxhr_mixer.c b/sound/pci/pcxhr/pcxhr_mixer.c index fec049344621..95c9571780d8 100644 --- a/sound/pci/pcxhr/pcxhr_mixer.c +++ b/sound/pci/pcxhr/pcxhr_mixer.c | |||
@@ -72,7 +72,8 @@ static int pcxhr_update_analog_audio_level(struct snd_pcxhr *chip, | |||
72 | rmh.cmd_len = 3; | 72 | rmh.cmd_len = 3; |
73 | err = pcxhr_send_msg(chip->mgr, &rmh); | 73 | err = pcxhr_send_msg(chip->mgr, &rmh); |
74 | if (err < 0) { | 74 | if (err < 0) { |
75 | snd_printk(KERN_DEBUG "error update_analog_audio_level card(%d)" | 75 | dev_dbg(chip->card->dev, |
76 | "error update_analog_audio_level card(%d)" | ||
76 | " is_capture(%d) err(%x)\n", | 77 | " is_capture(%d) err(%x)\n", |
77 | chip->chip_idx, is_capture, err); | 78 | chip->chip_idx, is_capture, err); |
78 | return -EINVAL; | 79 | return -EINVAL; |
@@ -284,7 +285,7 @@ static int pcxhr_update_playback_stream_level(struct snd_pcxhr* chip, int idx) | |||
284 | 285 | ||
285 | err = pcxhr_send_msg(chip->mgr, &rmh); | 286 | err = pcxhr_send_msg(chip->mgr, &rmh); |
286 | if (err < 0) { | 287 | if (err < 0) { |
287 | snd_printk(KERN_DEBUG "error update_playback_stream_level " | 288 | dev_dbg(chip->card->dev, "error update_playback_stream_level " |
288 | "card(%d) err(%x)\n", chip->chip_idx, err); | 289 | "card(%d) err(%x)\n", chip->chip_idx, err); |
289 | return -EINVAL; | 290 | return -EINVAL; |
290 | } | 291 | } |
@@ -335,7 +336,8 @@ static int pcxhr_update_audio_pipe_level(struct snd_pcxhr *chip, | |||
335 | 336 | ||
336 | err = pcxhr_send_msg(chip->mgr, &rmh); | 337 | err = pcxhr_send_msg(chip->mgr, &rmh); |
337 | if (err < 0) { | 338 | if (err < 0) { |
338 | snd_printk(KERN_DEBUG "error update_audio_level(%d) err=%x\n", | 339 | dev_dbg(chip->card->dev, |
340 | "error update_audio_level(%d) err=%x\n", | ||
339 | chip->chip_idx, err); | 341 | chip->chip_idx, err); |
340 | return -EINVAL; | 342 | return -EINVAL; |
341 | } | 343 | } |
@@ -930,7 +932,7 @@ static int pcxhr_iec958_capture_byte(struct snd_pcxhr *chip, | |||
930 | temp |= 1; | 932 | temp |= 1; |
931 | } | 933 | } |
932 | } | 934 | } |
933 | snd_printdd("read iec958 AES %d byte %d = 0x%x\n", | 935 | dev_dbg(chip->card->dev, "read iec958 AES %d byte %d = 0x%x\n", |
934 | chip->chip_idx, aes_idx, temp); | 936 | chip->chip_idx, aes_idx, temp); |
935 | *aes_bits = temp; | 937 | *aes_bits = temp; |
936 | return 0; | 938 | return 0; |
@@ -992,7 +994,8 @@ static int pcxhr_iec958_update_byte(struct snd_pcxhr *chip, | |||
992 | rmh.cmd[0] |= IO_NUM_REG_CUER; | 994 | rmh.cmd[0] |= IO_NUM_REG_CUER; |
993 | rmh.cmd[1] = cmd; | 995 | rmh.cmd[1] = cmd; |
994 | rmh.cmd_len = 2; | 996 | rmh.cmd_len = 2; |
995 | snd_printdd("write iec958 AES %d byte %d bit %d (cmd %x)\n", | 997 | dev_dbg(chip->card->dev, |
998 | "write iec958 AES %d byte %d bit %d (cmd %x)\n", | ||
996 | chip->chip_idx, aes_idx, i, cmd); | 999 | chip->chip_idx, aes_idx, i, cmd); |
997 | err = pcxhr_send_msg(chip->mgr, &rmh); | 1000 | err = pcxhr_send_msg(chip->mgr, &rmh); |
998 | if (err) | 1001 | if (err) |