diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-22 12:47:18 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-22 12:47:18 -0200 |
commit | 2fd0c62f1dc22eaf95fd7aa0738cd6fea481e194 (patch) | |
tree | 275adb196942c3c4c67c819ef925141c70b618c6 | |
parent | b10a1ee0af8b0eb6698ea4edee477e6ede5164f7 (diff) | |
download | mediapointer-dvb-s2-2fd0c62f1dc22eaf95fd7aa0738cd6fea481e194.tar.gz mediapointer-dvb-s2-2fd0c62f1dc22eaf95fd7aa0738cd6fea481e194.tar.bz2 |
Fix standard selection for PAL
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Not all 8MHz firmware are marked with F8MHz.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---
linux/drivers/media/video/tuner-xc2028.c | 3 +++
1 file changed, 3 insertions(+)
-rw-r--r-- | linux/drivers/media/video/tuner-xc2028.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |