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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
af9035.c media: usb: dvb-usb-v2: af9035: convert to use i2c_new_client_device() 2020-01-09 16:03:40 +01:00
af9035.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
anysee.c media: anysee: constify copied structure 2020-02-24 15:22:57 +01:00
anysee.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
au6610.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
au6610.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
az6007.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 238 2019-06-19 17:09:07 +02:00
ce6230.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ce6230.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dvb_usb_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
dvb_usb_core.c media: rtl28xxu: fix idle handling 2019-10-07 07:42:43 -03:00
dvb_usb_urb.c Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
dvb_usb.h media: rtl28xxu: fix idle handling 2019-10-07 07:42:43 -03:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
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 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
mxl111sf-demod.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-demod.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-gpio.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
mxl111sf-gpio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-i2c.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-phy.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-phy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-tuner.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
mxl111sf-tuner.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
usb_urb.c media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER 2018-12-03 13:23:24 -05:00
zd1301.c media: usb: dvb-usb-v2: zd1301: convert to use i2c_new_client_device() 2020-01-09 16:05:15 +01:00