linux/drivers/media/video/em28xx
Devin Heitmueller ed14e1c2f4 V4L/DVB (10119): em28xx: fix corrupted XCLK value
Correct problem introduced during the board refactoring where the XCLK
frequency would get zero'd out.  The sequence of events was as follows:

em28xx_pre_card_setup() called em28xx_set_model()
em28xx_set_model() would memcpy to dev->board configuration
em28xx_pre_card_setup() would set the dev->board.xclk if not set
em28xx_pre_card_setup() would set the XCLK register based on dev->board.xclk
...
em28xx_card_setup() would call em28xx_set_model()
em28xx_set_model() would memcpy to dev->board configuration (clearing out
 value of dev->board.xclk set in em28xx_pre_card_setup)
...
em28xx_audio_analog_set() sets the XCLK register based on dev->board.xclk
 (which now contains zero)

The change sets the default XCLK and I2C Clock fields in the board definition
inside of em28xx_set_model() so that subsequent calls do not cause the
values to be overwritten.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30 09:40:35 -02:00
..
em28xx-audio.c V4L/DVB (9588): Don't load em28xx audio module for digital-only devices 2008-12-29 17:53:32 -02:00
em28xx-cards.c V4L/DVB (10119): em28xx: fix corrupted XCLK value 2008-12-30 09:40:35 -02:00
em28xx-core.c V4L/DVB (9979): em28xx: move usb probe code to a proper place 2008-12-30 09:39:37 -02:00
em28xx-dvb.c V4L/DVB (9799): em28xx: fix Kworld Hybrid 330 (A316) support 2008-12-30 09:38:28 -02:00
em28xx-i2c.c V4L/DVB (9754): em28xx: improve debug messages 2008-12-29 17:53:42 -02:00
em28xx-input.c V4L/DVB (9752): Remove duplicated fields on em28xx_board and em28xx structs 2008-12-29 17:53:41 -02:00
em28xx-reg.h V4L/DVB (9921): em28xx: add chip id for em2874 2008-12-30 09:39:18 -02:00
em28xx-video.c V4L/DVB (9980): em28xx: simplify analog logic 2008-12-30 09:39:38 -02:00
em28xx.h V4L/DVB (10055): em28xx: Add entry for PixelView PlayTV Box 4 2008-12-30 09:40:09 -02:00
Kconfig V4L/DVB (7848): Fix dependencies for tuner-xc2028 and em28xx-dvb 2008-05-14 02:54:07 -03:00
Makefile V4L/DVB(7767): Move tuners to common/tuners 2008-04-29 18:41:37 -03:00