request_irq与request_threaded_irq
/*
* Allocate the IRQ
*/
#if 0
retval = request_irq(uap->port.irq, pl011_int, 0, "uart-pl011", uap);
#else
retval = request_threaded_irq(uap->port.irq, NULL, pl011_int, IRQ_TYPE_NONE | IRQF_ONESHOT,
"uart-pl011", uap);
【作者】sky
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利.