Commit 02584c30 authored by Sean Young's avatar Sean Young Committed by Zheng Zengkai
Browse files

media: lirc: drop trailing space from scancode transmit

stable inclusion
from stable-v6.6.3
commit 574bdc51e4893855db973308d8fe4d5b7d56ad43
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LBQP

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=574bdc51e4893855db973308d8fe4d5b7d56ad43



--------------------------------

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: 9b619258 ("media: lirc: implement scancode sending")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ab848d40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment