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 12:23:02 +0000 (14:23 +0200)
commit0a45148635f8f5d4b26e8c1a0e69719605914eb3
treeee2598e89d26d545f927880a2c76b78657feae57
parent3e3c8d88e0caadb4ff9c8e8e8ec95590f91546f5
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