]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6662): Fix standard selection for PAL
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 22 Nov 2007 14:47:18 +0000 (11:47 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:40 +0000 (19:02 -0200)
Not all 8MHz firmware are marked with F8MHz.

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

index a43a3398b7c0f4cd1a63e0feaca1da060af89f7d..1f14892a883a32d9731a4c185a001e159767d781 100644 (file)
@@ -734,6 +734,9 @@ skip_base:
                new_fw.id |= parse_audio_std_option();
 
        rc = load_firmware(fe, new_fw.type, &new_fw.id);
+       if (rc == -ENOENT)
+               rc = load_firmware(fe, new_fw.type & ~F8MHZ, &new_fw.id);
+
        if (rc < 0)
                goto fail;