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]
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -165,10 +165,13 @@ enum v4l2_tuner_type { · 164 unmodified lines | ||
| 165 | 165 | V4L2_TUNER_RADIO = 1, |
| 166 | 166 | V4L2_TUNER_ANALOG_TV = 2, |
| 167 | 167 | V4L2_TUNER_DIGITAL_TV = 3, |
| 168 | − V4L2_TUNER_ADC = 4, | |
| 168 | + V4L2_TUNER_SDR = 4, | |
| 169 | 169 | V4L2_TUNER_RF = 5, |
| 170 | 170 | }; |
| 171 | 171 | |
| 172 | +/* Deprecated, do not use */ | |
| 173 | +#define V4L2_TUNER_ADC V4L2_TUNER_SDR | |
| 174 | + | |
| 172 | 175 | enum v4l2_memory { |
| 173 | 176 | V4L2_MEMORY_MMAP = 1, |
| 174 | 177 | V4L2_MEMORY_USERPTR = 2, |