diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-10-28 12:16:51 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-10-28 12:40:42 -0400 |
commit | 2e6705c09065ecb357140e44d12dc32274b1a723 (patch) | |
tree | 783391ec2eb8a5358330db76ce2d132f790e1972 /sound/pci/ctxfi | |
parent | 859b2e374a86482004d1b8b94c1666269e1d7fd6 (diff) |
ALSA: ctxfi: Kill the rest snd_print*()
Use the standard dev_*() instead.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi')
-rw-r--r-- | sound/pci/ctxfi/ctatc.c | 6 | ||||
-rw-r--r-- | sound/pci/ctxfi/cttimer.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c index 632e843fa95e..977a59855fa6 100644 --- a/sound/pci/ctxfi/ctatc.c +++ b/sound/pci/ctxfi/ctatc.c | |||
@@ -438,7 +438,9 @@ atc_pcm_playback_position(struct ct_atc *atc, struct ct_atc_pcm *apcm) | |||
438 | position = src->ops->get_ca(src); | 438 | position = src->ops->get_ca(src); |
439 | 439 | ||
440 | if (position < apcm->vm_block->addr) { | 440 | if (position < apcm->vm_block->addr) { |
441 | snd_printdd("ctxfi: bad ca - ca=0x%08x, vba=0x%08x, vbs=0x%08x\n", position, apcm->vm_block->addr, apcm->vm_block->size); | 441 | dev_dbg(atc->card->dev, |
442 | "bad ca - ca=0x%08x, vba=0x%08x, vbs=0x%08x\n", | ||
443 | position, apcm->vm_block->addr, apcm->vm_block->size); | ||
442 | position = apcm->vm_block->addr; | 444 | position = apcm->vm_block->addr; |
443 | } | 445 | } |
444 | 446 | ||
@@ -1295,7 +1297,7 @@ static int atc_identify_card(struct ct_atc *atc, unsigned int ssid) | |||
1295 | atc->model = CT20K2_UNKNOWN; | 1297 | atc->model = CT20K2_UNKNOWN; |
1296 | } | 1298 | } |
1297 | atc->model_name = ct_subsys_name[atc->model]; | 1299 | atc->model_name = ct_subsys_name[atc->model]; |
1298 | snd_printd("ctxfi: chip %s model %s (%04x:%04x) is found\n", | 1300 | dev_info(atc->card->dev, "chip %s model %s (%04x:%04x) is found\n", |
1299 | atc->chip_name, atc->model_name, | 1301 | atc->chip_name, atc->model_name, |
1300 | vendor_id, device_id); | 1302 | vendor_id, device_id); |
1301 | return 0; | 1303 | return 0; |
diff --git a/sound/pci/ctxfi/cttimer.c b/sound/pci/ctxfi/cttimer.c index 03fb909085af..a5d460453d7b 100644 --- a/sound/pci/ctxfi/cttimer.c +++ b/sound/pci/ctxfi/cttimer.c | |||
@@ -421,12 +421,12 @@ struct ct_timer *ct_timer_new(struct ct_atc *atc) | |||
421 | atimer->atc = atc; | 421 | atimer->atc = atc; |
422 | hw = atc->hw; | 422 | hw = atc->hw; |
423 | if (!use_system_timer && hw->set_timer_irq) { | 423 | if (!use_system_timer && hw->set_timer_irq) { |
424 | snd_printd(KERN_INFO "ctxfi: Use xfi-native timer\n"); | 424 | dev_info(atc->card->dev, "Use xfi-native timer\n"); |
425 | atimer->ops = &ct_xfitimer_ops; | 425 | atimer->ops = &ct_xfitimer_ops; |
426 | hw->irq_callback_data = atimer; | 426 | hw->irq_callback_data = atimer; |
427 | hw->irq_callback = ct_timer_interrupt; | 427 | hw->irq_callback = ct_timer_interrupt; |
428 | } else { | 428 | } else { |
429 | snd_printd(KERN_INFO "ctxfi: Use system timer\n"); | 429 | dev_info(atc->card->dev, "Use system timer\n"); |
430 | atimer->ops = &ct_systimer_ops; | 430 | atimer->ops = &ct_systimer_ops; |
431 | } | 431 | } |
432 | return atimer; | 432 | return atimer; |