From 2fd0c62f1dc22eaf95fd7aa0738cd6fea481e194 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Thu, 22 Nov 2007 12:47:18 -0200 Subject: Fix standard selection for PAL From: Mauro Carvalho Chehab Not all 8MHz firmware are marked with F8MHz. Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/tuner-xc2028.c | 3 +++ 1 file changed, 3 insertions(+) --- linux/drivers/media/video/tuner-xc2028.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux/drivers') diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c index d8e89ea54..78b7e0dd3 100644 --- a/linux/drivers/media/video/tuner-xc2028.c +++ b/linux/drivers/media/video/tuner-xc2028.c @@ -749,6 +749,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; -- cgit v1.2.3