|
@@ -1637,7 +1637,7 @@ static int v4l_g_frequency(const struct v4l2_ioctl_ops *ops,
|
|
|
struct v4l2_frequency *p = arg;
|
|
|
|
|
|
if (vfd->vfl_type == VFL_TYPE_SDR)
|
|
|
- p->type = V4L2_TUNER_ADC;
|
|
|
+ p->type = V4L2_TUNER_SDR;
|
|
|
else
|
|
|
p->type = (vfd->vfl_type == VFL_TYPE_RADIO) ?
|
|
|
V4L2_TUNER_RADIO : V4L2_TUNER_ANALOG_TV;
|
|
@@ -1652,7 +1652,7 @@ static int v4l_s_frequency(const struct v4l2_ioctl_ops *ops,
|
|
|
enum v4l2_tuner_type type;
|
|
|
|
|
|
if (vfd->vfl_type == VFL_TYPE_SDR) {
|
|
|
- if (p->type != V4L2_TUNER_ADC && p->type != V4L2_TUNER_RF)
|
|
|
+ if (p->type != V4L2_TUNER_SDR && p->type != V4L2_TUNER_RF)
|
|
|
return -EINVAL;
|
|
|
} else {
|
|
|
type = (vfd->vfl_type == VFL_TYPE_RADIO) ?
|
|
@@ -2277,7 +2277,7 @@ static int v4l_enum_freq_bands(const struct v4l2_ioctl_ops *ops,
|
|
|
int err;
|
|
|
|
|
|
if (vfd->vfl_type == VFL_TYPE_SDR) {
|
|
|
- if (p->type != V4L2_TUNER_ADC && p->type != V4L2_TUNER_RF)
|
|
|
+ if (p->type != V4L2_TUNER_SDR && p->type != V4L2_TUNER_RF)
|
|
|
return -EINVAL;
|
|
|
type = p->type;
|
|
|
} else {
|