diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-11-20 12:43:13 +1000 |
---|---|---|
committer | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-11-20 12:43:13 +1000 |
commit | 082f7ef9ed1a45effb3e8fac38c72fb63b00b077 (patch) | |
tree | eebb328c17fc79202effd3522c838f534d23b9c5 /linux/drivers | |
parent | 3a034bbce9479557da6ef26bf7b61c500af20f61 (diff) | |
download | mediapointer-dvb-s2-082f7ef9ed1a45effb3e8fac38c72fb63b00b077.tar.gz mediapointer-dvb-s2-082f7ef9ed1a45effb3e8fac38c72fb63b00b077.tar.bz2 |
xc2028: try non-8MHZ init1 firmware
From: Chris Pascoe <c.pascoe@itee.uq.edu.au>
When loading init1 firmware, there may not be an 8MHz specific version.
Load the non-8MHz version if it exists.
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-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 c70e3316d..a14d24e1a 100644 --- a/linux/drivers/media/video/tuner-xc2028.c +++ b/linux/drivers/media/video/tuner-xc2028.c @@ -721,6 +721,9 @@ retry: tuner_dbg("Load init1 firmware, if exists\n"); rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &std0); + if (rc == -ENOENT) + rc = load_firmware(fe, (BASE | INIT1 | new_fw.type) & ~F8MHZ, + &std0); if (rc < 0 && rc != -ENOENT) { tuner_err("Error %d while loading init1 firmware\n", rc); |