Re: [PATCH v2 15/15] [media] include: lirc: add LIRC_GET_LENGTH command

From: Sean Young
Date: Fri Jul 01 2016 - 05:28:07 EST


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