Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119028
b: refs/heads/master
c: 41f5230
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Nov 14, 2008
1 parent ae7b2b7 commit e75b9d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 494264379d186bf806613d27aafb7d88d42f4212
refs/heads/master: 41f5230f3fc6296d0d88ab9f4c3c07fcbbe53e59
19 changes: 7 additions & 12 deletions trunk/drivers/media/video/tvaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ struct CHIPDESC {
int inputmute;
int inputmask;
};
static struct CHIPDESC chiplist[];

/* current state of the chip */
struct CHIPSTATE {
Expand Down Expand Up @@ -1856,11 +1855,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);
Expand Down Expand Up @@ -1905,9 +1906,3 @@ static struct v4l2_i2c_driver_data v4l2_i2c_data = {
.legacy_probe = chip_legacy_probe,
.id_table = chip_id,
};

/*
* Local variables:
* c-basic-offset: 8
* End:
*/

0 comments on commit e75b9d4

Please sign in to comment.