]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
authorSean Young <sean@mess.org>
Sun, 20 Feb 2022 14:28:24 +0000 (15:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:28 +0000 (13:57 +0200)
commit0ed20e2c747221a6e44687977b6478123ad58908
treec2f390973de3127e5407c3f2b8c81714c0c88298
parentc4df88e944ded84f43f510f30d3c2a26f99ef5df
media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC

commit 5ad05ecad4326ddaa26a83ba2233a67be24c1aaa upstream.

Calling udelay for than 1000us does not always yield the correct
results.

Cc: stable@vger.kernel.org
Reported-by: Михаил <vrserver1@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/rc/gpio-ir-tx.c