lkml.org 
[lkml]   [2010]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] MFD: ab8500-debugfs irq support
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/


\
 
 \ /
  Last update: 2010-11-26 16:53    [from the cache]
©2003-2011 Jasper Spaans