]> err.no Git - linux-2.6/commit
V4L/DVB (6671): Avoids checking digital/analog at check_firmware
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 24 Nov 2007 13:13:42 +0000 (10:13 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:51 +0000 (19:02 -0200)
commit00deff1a076dc1cf6743813657623626720bf0f5
treecc217f5d6f44bbdc25903433967209e9aac23f26
parentf36224d3992a7734349cdd6289ff73c3d007ce09
V4L/DVB (6671): Avoids checking digital/analog at check_firmware

Since check_firmware is called via analog or digital set freq routines, move
type selection to those routines. This avoids having several if's at the code,
and simplifies the source code.

A sideback effect is that implementing radio and other dvb types will become
simpler.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-xc2028.c