lkml.org 
[lkml]   [2009]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Free setup_irq() interrupt V2
On Tue, 10 Mar 2009, Ingo Molnar wrote:
> * Thomas Gleixner <tglx@linutronix.de> wrote:
>
> > Magnus,
> >
> > On Tue, 10 Mar 2009, Magnus Damm wrote:
> > > From: Magnus Damm <damm@igel.co.jp>
> > > This patch adds a __free_irq() function for releasing
> > > interrupts requested with setup_irq().
> >
> > I think there is a simpler solution than adding yet another
> > function for the confusion of driver writers. See below.
>
> Uhm, i asked for that solution ;-)

Uhm, I missed that :)

> To reduce the confusion in generic code with yet another IRQF flag.

Hmm. I still prefer a solution which confuses the few people hacking
on kernel/irq/* instead of having another function which confuses the
already confused driver writers.

I can live with the two functions as well, but then please let us use
a function name which is more intuitive than __free_irq().

setup_irq() -> remove_irq()
request_irq() -> free_irq()

Thanks,

tglx


\
 
 \ /
  Last update: 2009-03-10 16:29    [W:1.561 / U:1.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site