V4L/DVB (10209): tveeprom: Properly initialize tuner type (BZ#11367)
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 9 Jan 2009 11:38:47 +0000 (08:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 29 Jan 2009 10:35:37 +0000 (08:35 -0200)
commit3e478c06e83efc365e8351bff7b4c569f22e642d
tree80352cb99aed4aa63660f87dfe4a6f30e4047042
parentdbdf03b48bd32150b4023ea0dd22f566958b6294
V4L/DVB (10209): tveeprom: Properly initialize tuner type (BZ#11367)

If Hauppauge eeprom is corrupted, the driver returns tuner = 0, instead
of TUNER_ABSENT.

This makes the drivers to initialize tuner, instead of handling the
manual parameter.

Since the tuner core rejects that a tuner to have their type changed,
this breaks the manual tuner override.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tveeprom.c