Skip to content

Commit

Permalink
V4L/DVB (6540): em28xx: fix failing autodetection after the reboot
Browse files Browse the repository at this point in the history
The attached patch is required so that the autodetecion code also works after
a reboot.

Setting the I2C speed does not seem to be supported for em2800.

Signed-off-by: Sascha Sommer <saschasommer@freenet.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Sascha Sommer authored and Mauro Carvalho Chehab committed Dec 11, 2007
1 parent 8a75601 commit 2b2c93a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ static int em28xx_config(struct em28xx *dev)
{

/* Sets I2C speed to 100 KHz */
em28xx_write_regs_req(dev, 0x00, 0x06, "\x40", 1);
if (!dev->is_em2800)
em28xx_write_regs_req(dev, 0x00, 0x06, "\x40", 1);

/* enable vbi capturing */

Expand Down

0 comments on commit 2b2c93a

Please sign in to comment.