Re: [PATCH 2/2] MFD: ab8500-debugfs irq support

From: Samuel Ortiz
Date: Fri Nov 26 2010 - 10:51:34 EST


Hi Mattias,

On Fri, Nov 26, 2010 at 01:07:09PM +0100, Mattias Wallin wrote:
> This patch makes it possible to listned for ab8500 interrupts
> from userspace. A sysfs file is dynamically created
> and sysfs_notify is called when an interrupt occurs. This will
> make the userspace poll call to be released.
I think writing a UIO driver for that matter will make your life a lot easier.
And to be honest, having an IRQ handler on a debugfs related piece of code
sounds just wrong.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/