[PATCH 2/2] media: sunxi-cir: allow timeout to be set at runtime

Sean Young sean at mess.org
Fri Nov 13 10:36:24 EST 2020


On Tue, Nov 10, 2020 at 01:11:22PM +0100, maxime at cerno.tech wrote:
> On Tue, Nov 10, 2020 at 09:15:57AM +0000, Sean Young wrote:
> > This allows the timeout to be set with the LIRC_SET_REC_TIMEOUT ioctl.
> > 
> > The timeout was hardcoded at just over 20ms, but returned 120ms when
> > queried with the LIRC_GET_REC_TIMEOUT ioctl.
> > 
> > This also ensures the idle threshold is set correctly with a base clock
> > other than 8000000Mhz.
> 
> That's some pretty hardcore overclocking :)
> 
> I guess you meant 8MHz?

Yes, I did.

> Other than that, for both patches
> 
> Acked-by: Maxime Ripard <mripard at kernel.org>

Thanks!

Sean



More information about the linux-arm-kernel mailing list