mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
ed14e1c2f4
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> |
||
---|---|---|
.. | ||
em28xx-audio.c | ||
em28xx-cards.c | ||
em28xx-core.c | ||
em28xx-dvb.c | ||
em28xx-i2c.c | ||
em28xx-input.c | ||
em28xx-reg.h | ||
em28xx-video.c | ||
em28xx.h | ||
Kconfig | ||
Makefile |