>> 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
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.
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 ++--
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