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

2012-03-15 Thread Jarod Wilson
On Mar 15, 2012, at 5:42 PM, Ezequiel García wrote: > Hi Jarod, > > On Thu, Mar 15, 2012 at 6:35 PM, Jarod Wilson wrote: >> >> So yeah, ok, I'm fine with this. Haven't tested it with actual raw IR >> hardware, but I don't see any reason it wouldn't work. >> >> Acked-by: Jarod Wilson > > Tha

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

2012-03-15 Thread Ezequiel García
Hi Jarod, On Thu, Mar 15, 2012 at 6:35 PM, Jarod Wilson wrote: > > So yeah, ok, I'm fine with this. Haven't tested it with actual raw IR > hardware, but I don't see any reason it wouldn't work. > > Acked-by: Jarod Wilson Thanks for the feedback. I have a paranoid question: Is it ok to solve thi

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

2012-03-15 Thread Jarod Wilson
On Thu, Mar 15, 2012 at 05:53:49PM -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. > We use a static boolean variable, to ensure decoders modules > are o

[PATCH v2] 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. We use a static boolean variable, to ensure decoders modules are only loaded once. Tested with rc-loopback device only. Signed-off-by: Ezequ