Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219234
b: refs/heads/master
c: 94d4350
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 5a8f6b4 commit 3bb53bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 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: 2b361ab6d54ddd4322d730ecbee25ab4b98aa36f
refs/heads/master: 94d4350c544066d590eee93582220128e8be8b1c
14 changes: 12 additions & 2 deletions trunk/drivers/staging/tm6000/tm6000-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ void tm6000_set_fourcc_format(struct tm6000_core *dev)

int tm6000_init_analog_mode(struct tm6000_core *dev)
{
struct v4l2_frequency f;

if (dev->dev_type == TM6010) {
int val;

Expand Down Expand Up @@ -324,8 +326,16 @@ int tm6000_init_analog_mode(struct tm6000_core *dev)

/* Tuner firmware can now be loaded */

/*FIXME: Hack!!! */
struct v4l2_frequency f;
/*
* FIXME: This is a hack! xc3028 "sleeps" when no channel is detected
* for more than a few seconds. Not sure why, as this behavior does
* not happen on other devices with xc3028. So, I suspect that it
* is yet another bug at tm6000. After start sleeping, decoding
* doesn't start automatically. Instead, it requires some
* I2C commands to wake it up. As we want to have image at the
* beginning, we needed to add this hack. The better would be to
* discover some way to make tm6000 to wake up without this hack.
*/
mutex_lock(&dev->lock);
f.frequency = dev->freq;
v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_frequency, &f);
Expand Down

0 comments on commit 3bb53bc

Please sign in to comment.