[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <20160721004414.GE23521@samsunx.samsung>
Date: Thu, 21 Jul 2016 09:44:14 +0900
From: Andi Shyti <andi.shyti@...sung.com>
To: Sean Young <sean@...s.org>
Cc: Mauro Carvalho Chehab <mchehab@....samsung.com>,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Andi Shyti <andi@...zian.org>
Subject: Re: [RFC 3/7] [media] rc-core: add support for IR raw transmitters
Hi Sean,
> > + if (dev->driver_type == RC_DRIVER_IR_RAW ||
> > + dev->driver_type == RC_DRIVER_IR_RAW_TX) {
>
> Here the if is wrong. It should be
> "if (dev->driver_type != RC_DRIVER_IR_RAW_TX)". Note that as result
> the decoder thread is not started, so patch 4 won't be needed either.
but I need the ir-lirc-codec as it handles the interface with
userspace and it calls the tx_ir and s_tx_carrier.
if I do "if (dev->driver_type != RC_DRIVER_IR_RAW_TX)" the
lirc-codec is not called and I would need to handle it on my
driver, but then we fall in the first version of the driver.
Thanks,
Andi
> > if (!raw_init) {
> > request_module_nowait("ir-lirc-codec");
> > raw_init = true;
Powered by blists - more mailing lists