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);

posted @ 2015-12-11 13:35  Sky&Zhang  阅读(1727)  评论(0编辑  收藏  举报