diff options
author | Robert Krakora <rob.krakora@messagenetsystems.com> | 2009-01-18 19:59:34 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-29 05:39:18 -0500 |
commit | 6e7b9ea0937eeb75fa166ef7bd22b5f3bb5676d1 (patch) | |
tree | 74bc56ad98e7e60f627eb8e131aef68aaeb2211f /drivers/media/video/em28xx/em28xx-video.c | |
parent | 7e4b15e4201a101840c226dafe0d3df7ee652bf6 (diff) |
V4L/DVB (10257): em28xx: Fix for KWorld 330U Board
Fix for KWorld 330U Board
Many thanks to Devin and Mauro!!!
Signed-off-by: Robert Krakora <rob.krakora@messagenetsystems.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index d40650655f74..8e61b2ca9167 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -1956,6 +1956,7 @@ static struct video_device *em28xx_vdev_init(struct em28xx *dev, | |||
1956 | 1956 | ||
1957 | int em28xx_register_analog_devices(struct em28xx *dev) | 1957 | int em28xx_register_analog_devices(struct em28xx *dev) |
1958 | { | 1958 | { |
1959 | u8 val; | ||
1959 | int ret; | 1960 | int ret; |
1960 | 1961 | ||
1961 | printk(KERN_INFO "%s: v4l2 driver version %d.%d.%d\n", | 1962 | printk(KERN_INFO "%s: v4l2 driver version %d.%d.%d\n", |
@@ -1983,7 +1984,8 @@ int em28xx_register_analog_devices(struct em28xx *dev) | |||
1983 | /* enable vbi capturing */ | 1984 | /* enable vbi capturing */ |
1984 | 1985 | ||
1985 | /* em28xx_write_reg(dev, EM28XX_R0E_AUDIOSRC, 0xc0); audio register */ | 1986 | /* em28xx_write_reg(dev, EM28XX_R0E_AUDIOSRC, 0xc0); audio register */ |
1986 | /* em28xx_write_reg(dev, EM28XX_R0F_XCLK, 0x80); clk register */ | 1987 | val = (u8)em28xx_read_reg(dev, EM28XX_R0F_XCLK); |
1988 | em28xx_write_reg(dev, EM28XX_R0F_XCLK, (EM28XX_XCLK_AUDIO_UNMUTE | val)); | ||
1987 | em28xx_write_reg(dev, EM28XX_R11_VINCTRL, 0x51); | 1989 | em28xx_write_reg(dev, EM28XX_R11_VINCTRL, 0x51); |
1988 | 1990 | ||
1989 | em28xx_set_outfmt(dev); | 1991 | em28xx_set_outfmt(dev); |