projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30b54d5
)
V4L/DVB (3255): When in radio mode don't do anything with VIDIOC_G_TUNER.
author
Hans Verkuil
<hverkuil@xs4all.nl>
Mon, 9 Jan 2006 17:25:44 +0000
(15:25 -0200)
committer
Mauro Carvalho Chehab
<mchehab@brturbo.com.br>
Mon, 9 Jan 2006 17:25:44 +0000
(15:25 -0200)
- 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>
drivers/media/video/tvaudio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/video/tvaudio.c
b/drivers/media/video/tvaudio.c
index 2bdbb39bff0fe3b79ecaeb51d42242e000f2f3f0..ed6a843dd34afbccf113e3acd9e387ada6b15673 100644
(file)
--- a/
drivers/media/video/tvaudio.c
+++ b/
drivers/media/video/tvaudio.c
@@
-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);