Messages in this thread | | | Date | Tue, 10 Apr 2012 10:18:59 +0300 | From | Mika Westerberg <> | Subject | Re: [PATCH 2/3] gpio: langwell: allocate IRQ descriptors dynamically for SPARSE_IRQ |
| |
On Thu, Apr 05, 2012 at 09:34:14PM -0700, Grant Likely wrote: > On Thu, 5 Apr 2012 12:15:16 +0300, Mika Westerberg <mika.westerberg@linux.intel.com> wrote: > > Since x86 is using SPARSE_IRQ by default nowadays it means that we need to > > allocate IRQ descriptors dynamically using irq_alloc_descs() otherwise the > > genirq code fails to convert our irq numbers to suitable descriptors. > > > > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> > > Applied, thakns. > > While you're in this driver, you should look at converting to using an > irq_domain for irq <==> hwirq mapping. At the very least, > irq_data->hwirq should be used instead of abusing irq_set_chip_data().
Ok, will do. Thanks.
| |