summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7111.c
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2008-12-29 20:27:30 -0500
committerDevin Heitmueller <dheitmueller@linuxtv.org>2008-12-29 20:27:30 -0500
commitff2201e0c9fe05a42a4ef6473a8b744a08f1f9cc (patch)
tree46a7500177006213ad0b0e4d6eff9c2529f6acfb /linux/drivers/media/video/saa7111.c
parent8d2a805ffb2ab0d8b94f0607adca8b695369a2bf (diff)
downloadmediapointer-dvb-s2-ff2201e0c9fe05a42a4ef6473a8b744a08f1f9cc.tar.gz
mediapointer-dvb-s2-ff2201e0c9fe05a42a4ef6473a8b744a08f1f9cc.tar.bz2
em28xx: fix corrupted XCLK value
From: Devin Heitmueller <dheitmueller@linuxtv.org> 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. Priority: high Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/saa7111.c')
0 files changed, 0 insertions, 0 deletions