Re: [alsa-devel] [RFC] [PATCH 02/62] mpu401:snd_mpu401_uart_new(): split semantic of irq_flags
8 Sep
2011
8 Sep
'11
10:27 p.m.
Yong Zhang wrote:
Sorry, after checking the code, I've realized that my description was wrong. irq_flags==0 ("already reserved") means that snd_mpu401_uart_new should not try to allocate the interrupt, while irq==-1 ("no interrupt") means that the device never issues mpu401 interrupts, so that the mpu401 code must use a timer to poll the device.
I'll write a patch that changes this function so that irq<0 means "already reserved", and that "no interrupt" gets another bit in the info_flags parameter.
Regards, Clemens
4866
Age (days ago)
4866
Last active (days ago)
0 comments
1 participants
participants (1)
-
Clemens Ladisch