Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: ctxfi: Kill the rest snd_print*()

Use the standard dev_*() instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

+6 -4
+4 -2
sound/pci/ctxfi/ctatc.c
··· 438 438 position = src->ops->get_ca(src); 439 439 440 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 444 position = apcm->vm_block->addr; 443 445 } 444 446 ··· 1297 1295 atc->model = CT20K2_UNKNOWN; 1298 1296 } 1299 1297 atc->model_name = ct_subsys_name[atc->model]; 1300 - snd_printd("ctxfi: chip %s model %s (%04x:%04x) is found\n", 1298 + dev_info(atc->card->dev, "chip %s model %s (%04x:%04x) is found\n", 1301 1299 atc->chip_name, atc->model_name, 1302 1300 vendor_id, device_id); 1303 1301 return 0;
+2 -2
sound/pci/ctxfi/cttimer.c
··· 421 421 atimer->atc = atc; 422 422 hw = atc->hw; 423 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 425 atimer->ops = &ct_xfitimer_ops; 426 426 hw->irq_callback_data = atimer; 427 427 hw->irq_callback = ct_timer_interrupt; 428 428 } else { 429 - snd_printd(KERN_INFO "ctxfi: Use system timer\n"); 429 + dev_info(atc->card->dev, "Use system timer\n"); 430 430 atimer->ops = &ct_systimer_ops; 431 431 } 432 432 return atimer;