[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110704132714.GM2820@legolas.emea.dhcp.ti.com>
Date: Mon, 4 Jul 2011 16:27:20 +0300
From: Felipe Balbi <balbi@...com>
To: Péter Ujfalusi <peter.ujfalusi@...com>
Cc: "Balbi, Felipe" <balbi@...com>, "Girdwood, Liam" <lrg@...com>,
Tony Lindgren <tony@...mide.com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Samuel Ortiz <sameo@...ux.intel.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
"linux-input@...r.kernel.org" <linux-input@...r.kernel.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"Lopez Cruz, Misael" <misael.lopez@...com>
Subject: Re: Re: [PATCH v6 08/18] mfd: twl6040: Add initial support
Hi,
On Mon, Jul 04, 2011 at 04:09:30PM +0300, Péter Ujfalusi wrote:
> Hi Felipe, Samuel,
>
> On Monday 04 July 2011 14:53:30 Balbi, Felipe wrote:
> > > + ret = twl6040_request_irq(twl6040, TWL6040_IRQ_READY,
> > > + twl6040_naudint_handler, 0,
> > > + "twl6040_irq_ready", twl6040);
> >
> > why don't you use the normal request_threaded_irq() ?? This is a bit of
> > obfuscation IMO.
>
> I have left this 'macro' in since it is also used within the twl6040-vibra,
> and twl6040 ASoC codec driver to request the irq for them.
> But if you think it is better to replace the twl6040_request_irq with direct
> request_threaded_irq in those drivers as well, I'll do that.
IMO, yes it's better. But you can do it on a separate patch, of course
;-)
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists