Re: [Alsa-devel] IRQ trouble...[notices]

2003-01-27 Thread Uros Bizjak
Pieter Palmers wrote: There is one remark though: Your driver oops at some times (null pointer dereference), ie when doing: (sam_ucode.c) err = snd_sam9407_init_command(NULL, bytes, 7, NULL, 0, -1); The problem is in the magic_cast: When calling this with queue=NULL, the magic_cast causes an

Re: [Alsa-devel] IRQ trouble...[notices]

2003-01-27 Thread Uros Bizjak
Pieter Palmers wrote: Other stuff: --cut here-- //bytes[0] = 0x04; //bytes[1] = 0x00; //err = snd_sam9407_init_command(sam, sam->system_io_queue, // bytes, 2, buffer, 2, -1); --comment-- --> This is wrong syntax. There should be: err = snd_sam9407_init_command(sa

Re: [Alsa-devel] IRQ trouble...

2003-01-26 Thread Uros Bizjak
Pieter Palmers wrote: This interrupt scheme is where my problem occurs.When using the driver alone, I don't get any interrupts. So I thought of the following: why not load the firmware from userspace, and use my new driver in stead of the es1968 one. So I loaded the ISIS driver, then started