mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 11:36:40 +07:00
V4L/DVB (3255): When in radio mode don't do anything with VIDIOC_G_TUNER.
- When in radio mode don't do anything with VIDIOC_G_TUNER. Allow other devices to fill this. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
This commit is contained in:
parent
30b54d50f6
commit
d3900bc42e
@ -1706,12 +1706,12 @@ static int chip_command(struct i2c_client *client,
|
||||
struct v4l2_tuner *vt = arg;
|
||||
int mode = VIDEO_SOUND_MONO;
|
||||
|
||||
if (chip->radio)
|
||||
break;
|
||||
vt->audmode = 0;
|
||||
vt->rxsubchans = 0;
|
||||
vt->capability = V4L2_TUNER_CAP_STEREO |
|
||||
V4L2_TUNER_CAP_LANG1 | V4L2_TUNER_CAP_LANG2;
|
||||
if (chip->radio)
|
||||
break;
|
||||
|
||||
if (desc->getmode)
|
||||
mode = desc->getmode(chip);
|
||||
|
Loading…
Reference in New Issue
Block a user