From: Mauro Carvalho Chehab Date: Thu, 22 Nov 2007 14:47:18 +0000 (-0300) Subject: V4L/DVB (6662): Fix standard selection for PAL X-Git-Tag: v2.6.25-rc1~1235^2~311 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cca83798119c92a3086af9e8a0419360c63aeadd;p=linux-2.6 V4L/DVB (6662): Fix standard selection for PAL Not all 8MHz firmware are marked with F8MHz. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c index a43a3398b7..1f14892a88 100644 --- a/drivers/media/video/tuner-xc2028.c +++ b/drivers/media/video/tuner-xc2028.c @@ -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;