Re: [PATCH] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Ezequiel García
>>       if (dev->driver_type == RC_DRIVER_IR_RAW) { >> +             /* Load raw decoders, if they aren't already */ >> +             if (dev->raw_init) { > > The logic here seems to be inverted. it should be, instead !dev->raw_init. Duh! Sorry about that. I'm *way* too accustomed to test things

Re: [PATCH] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Jarod Wilson
On Thu, Mar 15, 2012 at 04:39:02PM -0300, Ezequiel Garcia wrote: > This changes rc_core to not load the IR decoders at load time, > postponing it to load only if a RC_DRIVER_IR_RAW device is registered > via rc_register_device. > > Signed-off-by: Ezequiel Garcia > --- > drivers/media/rc/rc-main.

Re: [PATCH] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Mauro Carvalho Chehab
Em 15-03-2012 16:39, Ezequiel Garcia escreveu: > This changes rc_core to not load the IR decoders at load time, > postponing it to load only if a RC_DRIVER_IR_RAW device is registered > via rc_register_device. > > Signed-off-by: Ezequiel Garcia > --- > drivers/media/rc/rc-main.c |8 ++--

[PATCH] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Ezequiel Garcia
This changes rc_core to not load the IR decoders at load time, postponing it to load only if a RC_DRIVER_IR_RAW device is registered via rc_register_device. Signed-off-by: Ezequiel Garcia --- drivers/media/rc/rc-main.c |8 ++-- include/media/rc-core.h|2 ++ 2 files changed, 8 ins