Re: [PATCH] [staging] lirc_serial: allocate irq at init time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 5, 2011 at 1:21 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Thu, Jun 16, 2011 at 03:31:46PM -0400, Jarod Wilson wrote:
>> There's really no good reason not to just grab the desired IRQ at driver
>> init time, instead of every time the lirc device node is accessed. This
>> also improves the speed and reliability with which a serial transmitter
>> can operate, as back-to-back transmission attempts (i.e., channel change
>> to a multi-digit channel) don't have to spend time acquiring and then
>> releasing the IRQ for every digit, sometimes multiple times, if lircd
>> has been told to use the min_repeat parameter.
>>
>> CC: devel@xxxxxxxxxxxxxxxxxxxx
>> Signed-off-by: Jarod Wilson <jarod@xxxxxxxxxx>
>> ---
>>  drivers/staging/lirc/lirc_serial.c |   44 +++++++++++++++++------------------
>>  1 files changed, 21 insertions(+), 23 deletions(-)
>
> This patch doesn't apply to the staging-next branch, care to respin it
> and resend it so I can apply it?

This actually got merged into mainline a few days ago via the media tree.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c4b0afee3c1730cf9b0f6ad21729928d23d3918e

Do you want me to take a look at what's in staging-next and fix that
up to apply on top of the above?

-- 
Jarod Wilson
jarod@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux