]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: lirc: drop trailing space from scancode transmit
authorSean Young <sean@mess.org>
Fri, 6 Oct 2023 21:31:52 +0000 (22:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 16:56:34 +0000 (16:56 +0000)
commit6003733c8f95ce700f58db859a642b53fd3e7ebf
tree6af518dfc2655fa7efe4233a7f1401b6c40dd981
parente4088d7d8f1123006d46a42edf51b8c960a58ef9
media: lirc: drop trailing space from scancode transmit

commit c8a489f820179fb12251e262b50303c29de991ac upstream.

When transmitting, infrared drivers expect an odd number of samples; iow
without a trailing space. No problems have been observed so far, so
this is just belt and braces.

Fixes: 9b6192589be7 ("media: lirc: implement scancode sending")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/rc/lirc_dev.c