android_kernel_xiaomi_sm8350/drivers/media/video/saa7134
Simon Arlott d53687d1d2 V4L/DVB (8496): saa7134: Copy tuner data earlier in init to avoid overwriting manual tuner type
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.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Reviewed-by: Hermann Pitton <hermann-pitton@arcor.de>
Cc: Brian Marete <bgmarete@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-26 13:18:23 -03:00
..
Kconfig V4L/DVB (7851): Fix FW_LOADER depencency at v4l/dvb 2008-05-14 02:54:08 -03:00
Makefile
saa6752hs.c v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10 2008-07-20 07:17:52 -03:00
saa7134-alsa.c v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10 2008-07-20 07:17:52 -03:00
saa7134-cards.c V4L/DVB (8496): saa7134: Copy tuner data earlier in init to avoid overwriting manual tuner type 2008-07-26 13:18:23 -03:00
saa7134-core.c V4L/DVB (8496): saa7134: Copy tuner data earlier in init to avoid overwriting manual tuner type 2008-07-26 13:18:23 -03:00
saa7134-dvb.c V4L/DVB (8244): saa7134: add support for AVerMedia M103 2008-07-20 07:18:29 -03:00
saa7134-empress.c V4L/DVB (8482): videodev: move all ioctl callbacks to a new v4l2_ioctl_ops struct 2008-07-26 12:54:58 -03:00
saa7134-i2c.c V4L/DVB (8151): saa7134-empress: fix MPEG control support 2008-07-20 07:14:23 -03:00
saa7134-input.c V4L/DVB (8395): saa7134: Fix Kbuild dependency of ir-kbd-i2c 2008-07-20 07:29:03 -03:00
saa7134-reg.h V4L/DVB (8019): New for I2S on for MPEG of saa7134_empress 2008-07-20 07:09:03 -03:00
saa7134-ts.c
saa7134-tvaudio.c v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10 2008-07-20 07:17:52 -03:00
saa7134-vbi.c
saa7134-video.c V4L/DVB (8482): videodev: move all ioctl callbacks to a new v4l2_ioctl_ops struct 2008-07-26 12:54:58 -03:00
saa7134.h V4L/DVB (8430): videodev: move some functions from v4l2-dev.h to v4l2-common.h or v4l2-ioctl.h 2008-07-23 19:00:17 -03:00