aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-22 11:47:18 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:02:40 -0200
commitcca83798119c92a3086af9e8a0419360c63aeadd (patch)
treed7102a0bbe741b943314d6c9cd75922a62e4012f /drivers
parent2800ae9cd669db0fc9993cbefae02f181343c295 (diff)
V4L/DVB (6662): Fix standard selection for PAL
Not all 8MHz firmware are marked with F8MHz. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-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 a43a3398b7c..1f14892a883 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;