]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: sharp: fix sharp encoding
authorSean Young <sean@mess.org>
Fri, 6 Oct 2023 11:54:25 +0000 (12:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 16:56:34 +0000 (16:56 +0000)
commitd0d831e7d68dc7a840e040ea78b63b4351a1da2f
tree6fdc52101408c156380a80b1d41d00ada38f1c6d
parent6003733c8f95ce700f58db859a642b53fd3e7ebf
media: sharp: fix sharp encoding

commit 4f7efc71891462ab7606da7039f480d7c1584a13 upstream.

The Sharp protocol[1] encoding has incorrect timings for bit space.

[1] https://www.sbprojects.net/knowledge/ir/sharp.php

Fixes: d35afc5fe097 ("[media] rc: ir-sharp-decoder: Add encode capability")
Cc: stable@vger.kernel.org
Reported-by: Joe Ferner <joe.m.ferner@gmail.com>
Closes: https://sourceforge.net/p/lirc/mailman/message/38604507/
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/ir-sharp-decoder.c