V4L/DVB (7200): Fix FM firmware loading
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 14 Feb 2008 04:52:48 +0000 (01:52 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 18 Feb 2008 15:18:06 +0000 (12:18 -0300)
There's no need to load SCode table for FM.

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

index f191f6a..50cf876 100644 (file)
@@ -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);