android_kernel_xiaomi_sdm845/drivers/media/video/bt8xx
Trent Piepho ac7dc84584 V4L/DVB (5805): Bttv: Fix problems with probing for non-existent tuners
The bttv driver has code to detect if a tda9887 is present, that was previous
used to auto-load the tda9887 driver.  Now there is no tda9887 driver, so the
code is pointless; it just figures out if it should load the driver and then
does nothing.

For cards that are defined as having no tuner, the init code would still do
i2c probes for various tuner devices and auto-load the tuner module.  That can
be skipped for cards that don't need it.  The code is made to understand that
in addition to 'UNSET', 'TUNER_ABSENT' also means no tuner.

The tuner into printk()s are also made nicer.  Levels are added, INFO or
WARNING, depending on the meaning.  For cards with no tuner, or no tuner
defined, a more informative message is printed.

Card has no tuner, before patch:
bttv0: tuner type=-1
 or
bttv0: tuner type=4

After patch:

bttv0: tuner absent

Card has a tuner, but the type isn't defined, before patch:
bttv0: tuner type=-1

After patch:
bttv0: tuner type unset   [<- also warning now, as the tuner won't work right]

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-18 14:24:26 -03:00
..
bt832.c V4L/DVB (3577): Cleanup audio input handling 2006-03-24 16:26:56 -03:00
bt832.h V4L/DVB (3539): Move bttv fragments to bt8xx/ 2006-03-24 16:26:50 -03:00
bt848.h V4L/DVB (3539): Move bttv fragments to bt8xx/ 2006-03-24 16:26:50 -03:00
bttv-cards.c V4L/DVB (5805): Bttv: Fix problems with probing for non-existent tuners 2007-07-18 14:24:26 -03:00
bttv-driver.c V4L/DVB (5785): Revisited: 3dfx Voodoo TV 200 (US) 2007-07-18 14:24:19 -03:00
bttv-gpio.c V4L/DVB (5278): Bt8xx/: possible cleanups 2007-04-27 15:43:20 -03:00
bttv-i2c.c V4L/DVB (5479): Use ARRAY_SIZE instead of a magic number 2007-04-27 15:45:12 -03:00
bttv-if.c V4L/DVB (5278): Bt8xx/: possible cleanups 2007-04-27 15:43:20 -03:00
bttv-input.c V4L/DVB (5698): Input: drivers/media - switch to using input_dev->dev.parent 2007-07-18 14:23:46 -03:00
bttv-risc.c V4L/DVB (5077): Bttv cropping support 2007-02-21 13:34:36 -02:00
bttv-vbi.c V4L/DVB (5156): Fix: dma free is being called with wrong arguments 2007-02-21 13:35:08 -02:00
bttv.h V4L/DVB (5803): Bttv: add support for DViCO FusionHDTV 2 2007-07-18 14:24:26 -03:00
bttvp.h V4L/DVB (5482): Bttv: automatically load dvb-bt8xx for bttv cards with dvb 2007-04-27 15:45:14 -03:00
Kconfig V4L/DVB (4518): Allow manually selecting the proper helper drivers 2006-09-26 12:30:33 -03:00
Makefile V4L/DVB (3731): Kbuild: drivers/media/video/bt8xx: remove $(src) from include path 2006-05-12 19:54:40 -03:00