Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1512726

Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any transmitting time for tx only devices

From Sean Young <sean@mess.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any transmitting time for tx only devices
Date 2016-10-31 18:10 +0100
Message-ID <syofT-5it-7@gated-at.bofh.it> (permalink)
References (2 earlier) <scHSi-7dg-39@gated-at.bofh.it> <swTnQ-2Bn-55@gated-at.bofh.it> <scSkF-5B4-25@gated-at.bofh.it> <swTnQ-2Bn-53@gated-at.bofh.it> <sylUJ-3Eg-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi David, Andi,

On Mon, Oct 31, 2016 at 02:31:52PM +0000, David Härdeman wrote:
> October 27, 2016 4:36 PM, "Sean Young" <sean@mess.org> wrote:
> > Since we have to be able to switch between waiting and not waiting,
> > we need some sort of ABI for this. I think this warrants a new ioctl;
> > I'm not sure how else it can be done. I'll be sending out a patch
> > shortly.
> 
> Hi Sean,
> 
> have you considered using a module param for the LIRC bridge module instead? As far as I understand it, this is an issue which is entirely internal to LIRC, and it's also not something which really needs to be changed on a per-device level (either you have a modern LIRC daemon or you don't, and all drivers should behave the same, no?).

I still don't see how any of this would change anything for the ir-spi case:
since it uses sync spi transfer, it's going to block anyway.

> Another advantage is that the parameter would then go away if and when the lirc bridge ever goes away (yes, I can still dream, can't I?).

The suggested ioctl is unique to lirc too and would disappear if the
lirc ABI goes away. With a module parameter you would change the lirc ABI
into an incompatible one. Not sure that is what module parameters should
be used for.

Andi, it would be good to know what the use-case for the original change is.


Thanks
Sean

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any transmitting  time for tx only devices Andi Shyti <andi.shyti@samsung.com> - 2016-10-27 16:00 +0200
  Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any  transmitting time for tx only devices Sean Young <sean@mess.org> - 2016-10-27 16:40 +0200
    Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any  transmitting time for tx only devices "David Härdeman" <david@hardeman.nu> - 2016-10-31 15:40 +0100
      Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any  transmitting time for tx only devices Sean Young <sean@mess.org> - 2016-10-31 18:10 +0100
        Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any transmitting  time for tx only devices Andi Shyti <andi.shyti@samsung.com> - 2016-11-01 08:00 +0100
          Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any  transmitting time for tx only devices Sean Young <sean@mess.org> - 2016-11-01 11:40 +0100
            Re: [PATCH v2 5/7] [media] ir-lirc-codec: don't wait any transmitting  time for tx only devices Andi Shyti <andi.shyti@samsung.com> - 2016-11-02 05:50 +0100

csiph-web