Re: What to do with input_enable_softrepeat in av7110_ir.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/09/2017 01:12 AM, Jasmin J. wrote:
> Hello Hans!
> 
> I try to fix the compilation for Kernel 3.13 (the kernel I use on my VDR).
> 
> In commit 5aeaa3e668de0782d1502f3d5751e2266a251d7c the timer handling in
> the driver has been changed and now it uses "input_enable_softrepeat". This
> function has been added with Kernel 4.4.
> 
> I tried to define "input_enable_softrepeat" in "v4l/compat.h", but it requires
> "input_repeat_key", which is a static function in "input.c".
> 
> I see this solutions:
> 1) Revert commit 5aeaa3e668de0782d1502f3d5751e2266a251d7c with a new patch for
>    Kernels older than 4.4.
> 2) Disable the  CONFIG_DVB_AV7110_IR, but this driver is available since
>    2008. So there might be a lot of people unhappy.
> 3) Hans looks into this and has another clever idea how to solve that.
> 
> I prefer 1) for a quick solution.
> 
> BR,
>    Jasmin
> 

I tried 2, that didn't work, then picked 1 and now it compiles.

Pushed all my changes. At least it now compiles from 4.1 onwards. Haven't tested
older builds.

Regards,

	Hans



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux