summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/uvc/uvc_ctrl.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-26 11:30:03 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-26 11:30:03 -0300
commit54c5a432d5b1ee850dfddf8ffbb85e2c6f3ba5b0 (patch)
tree2c34f96d329f2757227f2817a0c9a2e1b8187d5e /linux/drivers/media/video/uvc/uvc_ctrl.c
parent934a0ff7b293a5df5f8f33f3361ec53dd9efeda1 (diff)
downloadmediapointer-dvb-s2-54c5a432d5b1ee850dfddf8ffbb85e2c6f3ba5b0.tar.gz
mediapointer-dvb-s2-54c5a432d5b1ee850dfddf8ffbb85e2c6f3ba5b0.tar.bz2
saa7134: Copy tuner data earlier in init to avoid overwriting manual tuner type
From: Simon Arlott <simon@fire.lp0.eu> When saa7134_board_init2 runs, it immediately overwrites the current value (set earlier from module parameter) of tuner_type with the static values, and then does autodetection. This patch moves the tuner_addr copy to earlier in saa7134_initdev and removes the tuner_type copy from saa7134_board_init2. Autodetection could still potentially change to the wrong tuner type, but it is now possible to override the default type for the card again. My card's tuner is configured with autodetection from eeprom, so I don't need to manually set the tuner. I've checked that the autodetection still works for my card. Reviewed-by: Hermann Pitton <hermann-pitton@arcor.de> Cc: Brian Marete <bgmarete@gmail.com> Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/uvc/uvc_ctrl.c')
0 files changed, 0 insertions, 0 deletions