TencentOS-kernel/drivers/media
Sean Young ddf1aa62cb media: gpio-ir-tx: improve precision of transmitted signal due to scheduling
[ Upstream commit ea8912b788f8144e7d32ee61e5ccba45424bef83 ]

usleep_range() may take longer than the max argument due to scheduling,
especially under load. This is causing random errors in the transmitted
IR. Remove the usleep_range() in favour of busy-looping with udelay().

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-16 16:35:00 +08:00
..
cec cec-api: prevent leaking memory through hole in structure 2021-03-16 16:34:50 +08:00
common Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
dvb-core media: dvbdev: Fix tuner->demod media controller link 2021-03-16 16:29:21 +08:00
dvb-frontends Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
firewire media: firewire: Using uninitialized values in node_probe() 2021-03-16 16:33:32 +08:00
i2c media: ov5640: fix use of destroyed mutex 2021-03-16 16:29:45 +08:00
mc media: media-request: Fix crash if memory allocation fails 2021-03-16 16:33:51 +08:00
mmc Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
pci media: pci: ttpci: av7110: fix possible buffer overflow caused by bad DMA value in debiirq() 2021-03-16 16:34:46 +08:00
platform media: davinci: vpif_capture: fix potential double free 2021-03-16 16:34:53 +08:00
radio Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
rc media: gpio-ir-tx: improve precision of transmitted signal due to scheduling 2021-03-16 16:35:00 +08:00
spi Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
tuners media: si2157: Better check for running tuner in init 2021-03-16 16:29:15 +08:00
usb media: cxusb-analog: fix V4L2 dependency 2021-03-16 16:33:30 +08:00
v4l2-core Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Kconfig Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00