Changeset 426 for GPL/trunk/alsa-kernel/drivers/mtpav.c
- Timestamp:
- May 9, 2009, 11:45:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/drivers/mtpav.c
r410 r426 304 304 snd_mtpav_send_byte(mtp_card, 0xf5); 305 305 snd_mtpav_send_byte(mtp_card, portp->hwport); 306 //snd_printk("new outport: 0x%x\n", (unsigned int) portp->hwport); 307 306 /* 307 snd_printk(KERN_DEBUG "new outport: 0x%x\n", 308 (unsigned int) portp->hwport); 309 */ 308 310 if (!(outbyte & 0x80) && portp->running_status) 309 311 snd_mtpav_send_byte(mtp_card, portp->running_status); … … 541 543 u8 sbyt = snd_mtpav_getreg(mcrd, SREG); 542 544 543 / /printk("snd_mtpav_read_bytes() sbyt: 0x%x\n", sbyt);545 /* printk(KERN_DEBUG "snd_mtpav_read_bytes() sbyt: 0x%x\n", sbyt); */ 544 546 545 547 if (!(sbyt & SIGS_BYTE)) … … 586 588 { 587 589 if ((mcard->res_port = request_region(port, 3, "MotuMTPAV MIDI")) == NULL) { 588 snd_printk( "MTVAP port 0x%lx is busy\n", port);590 snd_printk(KERN_ERR "MTVAP port 0x%lx is busy\n", port); 589 591 return -EBUSY; 590 592 } 591 593 mcard->port = port; 592 594 if (request_irq(irq, snd_mtpav_irqh, IRQF_DISABLED, "MOTU MTPAV", mcard)) { 593 snd_printk( "MTVAP IRQ %d busy\n", irq);595 snd_printk(KERN_ERR "MTVAP IRQ %d busy\n", irq); 594 596 return -EBUSY; 595 597 } … … 707 709 mtp_card->irq = -1; 708 710 mtp_card->share_irq = 0; 709 mtp_card->inmidiport = 0xffffffff;710 711 mtp_card->inmidistate = 0; 711 712 mtp_card->outmidihwport = 0xffffffff; … … 719 720 if (err < 0) 720 721 goto __error; 722 723 mtp_card->inmidiport = mtp_card->num_ports + MTPAV_PIDX_BROADCAST; 721 724 722 725 err = snd_mtpav_get_ISA(mtp_card);
Note:
See TracChangeset
for help on using the changeset viewer.