media: sharp: fix sharp encoding
authorSean Young <sean@mess.org>
Fri, 6 Oct 2023 11:54:25 +0000 (12:54 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 11 Oct 2023 14:26:16 +0000 (16:26 +0200)
commit4f7efc71891462ab7606da7039f480d7c1584a13
treed27bcf921984ae7bf072a05a68f704282a3c7f02
parent545668480f7b89918f2406c36f9ae8813ac26887
media: sharp: fix sharp encoding

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>
drivers/media/rc/ir-sharp-decoder.c