Commit 2e6705c0 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: ctxfi: Kill the rest snd_print*()

Use the standard dev_*() instead.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 859b2e37
...@@ -438,7 +438,9 @@ atc_pcm_playback_position(struct ct_atc *atc, struct ct_atc_pcm *apcm) ...@@ -438,7 +438,9 @@ atc_pcm_playback_position(struct ct_atc *atc, struct ct_atc_pcm *apcm)
position = src->ops->get_ca(src); position = src->ops->get_ca(src);
if (position < apcm->vm_block->addr) { if (position < apcm->vm_block->addr) {
snd_printdd("ctxfi: bad ca - ca=0x%08x, vba=0x%08x, vbs=0x%08x\n", position, apcm->vm_block->addr, apcm->vm_block->size); dev_dbg(atc->card->dev,
"bad ca - ca=0x%08x, vba=0x%08x, vbs=0x%08x\n",
position, apcm->vm_block->addr, apcm->vm_block->size);
position = apcm->vm_block->addr; position = apcm->vm_block->addr;
} }
...@@ -1295,7 +1297,7 @@ static int atc_identify_card(struct ct_atc *atc, unsigned int ssid) ...@@ -1295,7 +1297,7 @@ static int atc_identify_card(struct ct_atc *atc, unsigned int ssid)
atc->model = CT20K2_UNKNOWN; atc->model = CT20K2_UNKNOWN;
} }
atc->model_name = ct_subsys_name[atc->model]; atc->model_name = ct_subsys_name[atc->model];
snd_printd("ctxfi: chip %s model %s (%04x:%04x) is found\n", dev_info(atc->card->dev, "chip %s model %s (%04x:%04x) is found\n",
atc->chip_name, atc->model_name, atc->chip_name, atc->model_name,
vendor_id, device_id); vendor_id, device_id);
return 0; return 0;
......
...@@ -421,12 +421,12 @@ struct ct_timer *ct_timer_new(struct ct_atc *atc) ...@@ -421,12 +421,12 @@ struct ct_timer *ct_timer_new(struct ct_atc *atc)
atimer->atc = atc; atimer->atc = atc;
hw = atc->hw; hw = atc->hw;
if (!use_system_timer && hw->set_timer_irq) { if (!use_system_timer && hw->set_timer_irq) {
snd_printd(KERN_INFO "ctxfi: Use xfi-native timer\n"); dev_info(atc->card->dev, "Use xfi-native timer\n");
atimer->ops = &ct_xfitimer_ops; atimer->ops = &ct_xfitimer_ops;
hw->irq_callback_data = atimer; hw->irq_callback_data = atimer;
hw->irq_callback = ct_timer_interrupt; hw->irq_callback = ct_timer_interrupt;
} else { } else {
snd_printd(KERN_INFO "ctxfi: Use system timer\n"); dev_info(atc->card->dev, "Use system timer\n");
atimer->ops = &ct_systimer_ops; atimer->ops = &ct_systimer_ops;
} }
return atimer; return atimer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment