summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-02-14 05:52:48 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 16:18:06 +0100
commit40ae91a758df916d7a5640fb2de20537ef7849fd (patch)
treec4c6e3bb94fa4aa888d451a9f581788d505d4702 /drivers/media/video/tuner-xc2028.c
parentV4L/DVB (7198): V4L, include ioctl.h in videodev headers (diff)
downloadlinux-40ae91a758df916d7a5640fb2de20537ef7849fd.tar.xz
linux-40ae91a758df916d7a5640fb2de20537ef7849fd.zip
V4L/DVB (7200): Fix FM firmware loading
There's no need to load SCode table for FM. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-xc2028.c')
-rw-r--r--drivers/media/video/tuner-xc2028.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index f191f6a48070..50cf876f020f 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -754,6 +754,9 @@ skip_std_specific:
goto check_device;
}
+ if (new_fw.type & FM)
+ goto check_device;
+
/* Load SCODE firmware, if exists */
tuner_dbg("Trying to load scode %d\n", new_fw.scode_nr);