[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160701092759.GA8808@gofer.mess.org>
Date: Fri, 1 Jul 2016 10:27:59 +0100
From: Sean Young <sean@...s.org>
To: Andi Shyti <andi.shyti@...sung.com>
Cc: Mauro Carvalho Chehab <mchehab@....samsung.com>,
Joe Perches <joe@...ches.com>, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, Andi Shyti <andi@...zian.org>
Subject: Re: [PATCH v2 15/15] [media] include: lirc: add LIRC_GET_LENGTH
command
On Fri, Jul 01, 2016 at 05:01:38PM +0900, Andi Shyti wrote:
> Added the get length command to allow userspace users to check on
> the data length.
So what does LIRC_GET_LENGTH do? If you want to add an ioctl, it
need justification, documenting in
Documentatoin/DocBook/media/v4l/lirc_device_interface.xml and there
should be at least one driver using it.
If you want to write a new driver which does IR transmit, it's best
to use the rc-core interface like the existing drivers and do
not use the lirc interface. Most of the other drivers which implement
IR transmit use rc-core too.
Sean
Powered by blists - more mailing lists