diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-13 18:25:04 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-13 18:25:04 -0200 |
commit | 7e22300bf63145f172fc8ea241447c828b564cf4 (patch) | |
tree | 1a3d4c9dada60f14307853d087bd31eb7638176a /linux/drivers/media/video | |
parent | ae85a80ddd128705ff86971d904a2a12e7cb48ad (diff) | |
download | mediapointer-dvb-s2-7e22300bf63145f172fc8ea241447c828b564cf4.tar.gz mediapointer-dvb-s2-7e22300bf63145f172fc8ea241447c828b564cf4.tar.bz2 |
tvaudio: Improve comments and remove a unneeded prototype
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/tvaudio.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/linux/drivers/media/video/tvaudio.c b/linux/drivers/media/video/tvaudio.c index 4a5c20ffa..fcf5a5314 100644 --- a/linux/drivers/media/video/tvaudio.c +++ b/linux/drivers/media/video/tvaudio.c @@ -109,7 +109,6 @@ struct CHIPDESC { int inputmute; int inputmask; }; -static struct CHIPDESC chiplist[]; /* current state of the chip */ struct CHIPSTATE { @@ -1868,11 +1867,13 @@ static int chip_command(struct i2c_client *client, case VIDIOC_S_FREQUENCY: chip->mode = 0; /* automatic */ - /* For chips that provide getmode, setmode and checkmode, - a kthread is created to automatically to set the audio - standard. In this case, start with MONO and wait 2 seconds - for the decoding to stablize. Then, run kthread to change - to stereo, if carrier detected. + /* For chips that provide getmode and setmode, and doesn't + automatically follows the stereo carrier, a kthread is + created to set the audio standard. In this case, when then + the video channel is changed, tvaudio starts on MONO mode. + After waiting for 2 seconds, the kernel thread is called, + to follow whatever audio standard is pointed by the + audio carrier. */ if (chip->thread) { desc->setmode(chip,V4L2_TUNER_MODE_MONO); @@ -1921,9 +1922,3 @@ static struct v4l2_i2c_driver_data v4l2_i2c_data = { .id_table = chip_id, #endif }; - -/* - * Local variables: - * c-basic-offset: 8 - * End: - */ |