linux/drivers/media/usb/dvb-usb-v2
Sean Young 528222d853 media: rc: harmonize infrared durations to microseconds
rc-core kapi uses nanoseconds for infrared durations for receiving, and
microseconds for sending. The uapi already uses microseconds for both,
so this patch does not change the uapi.

Infrared durations do not need nanosecond resolution. IR protocols do not
have durations shorter than about 100 microseconds. Some IR hardware offers
250 microseconds resolution, which is sufficient for most protocols.
Better hardware has 50 microsecond resolution and is enough for every
protocol I am aware off.

Unify on microseconds everywhere. This simplifies the code since less
conversion between microseconds and nanoseconds needs to be done.

This affects:
 - rx_resolution member of struct rc_dev
 - timeout member of struct rc_dev
 - duration member in struct ir_raw_event

Cc: "Bruno Prémont" <bonbons@linux-vserver.org>
Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Patrick Lerda <patrick9876@free.fr>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Sean Wang <sean.wang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: "David Härdeman" <david@hardeman.nu>
Cc: Benjamin Valentin <benpicco@googlemail.com>
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-03 16:18:55 +02:00
..
af9015.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
af9015.h
af9035.c
af9035.h
anysee.c
anysee.h
au6610.c
au6610.h
az6007.c
ce6230.c
ce6230.h
dvb_usb.h
dvb_usb_common.h
dvb_usb_core.c
dvb_usb_urb.c
dvbsky.c media: dvbsky: MyGica T230* receivers also do DVB-C and DVB-T 2020-06-23 15:09:26 +02:00
ec168.c media: dvb-usb-v2: use DVB_USB_DEVICE() macro 2020-04-22 07:42:15 +02:00
ec168.h
gl861.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
Kconfig media: Kconfig: fix some dvb-usb-v2 dependencies 2020-04-23 18:02:18 +02:00
lmedm04.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
lmedm04.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
Makefile
mxl111sf-demod.c
mxl111sf-demod.h
mxl111sf-gpio.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
mxl111sf-gpio.h
mxl111sf-i2c.c
mxl111sf-i2c.h
mxl111sf-phy.c
mxl111sf-phy.h
mxl111sf-reg.h
mxl111sf-tuner.c
mxl111sf-tuner.h
mxl111sf.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
mxl111sf.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
rtl28xxu.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
rtl28xxu.h
usb_urb.c
zd1301.c