History

[media] v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR

SDR receiver has ADC (Analog-to-Digital Converter) and SDR transmitter has DAC (Digital-to-Analog Converter). Originally I though it could be good idea to have own type for receiver and transmitter, but now I feel one common type for SDR is enough. So lets rename it. Signed-off-by: Antti Palosaari <crope@iki.fi> Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> [hans.verkuil@cisco.com: this was added in 4.4, so update 4.2 to 4.4]

Antti Palosaari committed 11 years ago

Commit f3c3ece1 parent eda98795 files · +29 −7Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/videodev2.h+4−1
@@ -165,10 +165,13 @@ enum v4l2_tuner_type { · 164 unmodified lines
165165 V4L2_TUNER_RADIO = 1,
166166 V4L2_TUNER_ANALOG_TV = 2,
167167 V4L2_TUNER_DIGITAL_TV = 3,
168− V4L2_TUNER_ADC = 4,
168+ V4L2_TUNER_SDR = 4,
169169 V4L2_TUNER_RF = 5,
170170 };
171171
172+/* Deprecated, do not use */
173+#define V4L2_TUNER_ADC V4L2_TUNER_SDR
174+
172175 enum v4l2_memory {
173176 V4L2_MEMORY_MMAP = 1,
174177 V4L2_MEMORY_USERPTR = 2,