Re: FAILED: patch "[PATCH] media: lirc: LIRC_GET_REC_RESOLUTION should return" failed to apply to 4.4-stable tree

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

 



On Tue, Aug 08, 2017 at 10:13:36AM +0100, Sean Young wrote:
> >From dfd1bd8275a6287068fda370ac49a8549e660674 Mon Sep 17 00:00:00 2001
> From: Sean Young <sean@xxxxxxxx>
> Date: Fri, 7 Jul 2017 18:49:18 -0300
> Subject: [PATCH] media: lirc: LIRC_GET_REC_RESOLUTION should return
>  microseconds
> 
> Since commit e8f4818895b3 ("[media] lirc: advertise
> LIRC_CAN_GET_REC_RESOLUTION and improve") lircd uses the ioctl
> LIRC_GET_REC_RESOLUTION to determine the shortest pulse or space that
> the hardware can detect. This breaks decoding in lirc because lircd
> expects the answer in microseconds, but nanoseconds is returned.
> 
> Cc: <stable@xxxxxxxxxxxxxxx> # v2.6.36+
> Reported-by: Derek <user.vdr@xxxxxxxxx>
> Tested-by: Derek <user.vdr@xxxxxxxxx>
> Signed-off-by: Sean Young <sean@xxxxxxxx>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>
> ---
>  drivers/media/rc/ir-lirc-codec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks for the 2 backports, now applied.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]