diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-11-19 21:43:13 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:35 -0500 |
commit | 1ad0b796a3fa3d1c1a7d16be7c70b626da2940a9 (patch) | |
tree | 157dbc4cca1b0830e55817f11b71c6e4de60e274 /drivers/media/video/tuner-xc2028.c | |
parent | 11a9eff9b66b1cf860faa84084328d798d18834c (diff) |
V4L/DVB (6652): xc2028: try non-8MHZ init1 firmware
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 'drivers/media/video/tuner-xc2028.c')
-rw-r--r-- | drivers/media/video/tuner-xc2028.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c index 5b646fed340f..429e81be697e 100644 --- a/drivers/media/video/tuner-xc2028.c +++ b/drivers/media/video/tuner-xc2028.c | |||
@@ -706,6 +706,9 @@ retry: | |||
706 | tuner_dbg("Load init1 firmware, if exists\n"); | 706 | tuner_dbg("Load init1 firmware, if exists\n"); |
707 | 707 | ||
708 | rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &std0); | 708 | rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &std0); |
709 | if (rc == -ENOENT) | ||
710 | rc = load_firmware(fe, (BASE | INIT1 | new_fw.type) & ~F8MHZ, | ||
711 | &std0); | ||
709 | if (rc < 0 && rc != -ENOENT) { | 712 | if (rc < 0 && rc != -ENOENT) { |
710 | tuner_err("Error %d while loading init1 firmware\n", | 713 | tuner_err("Error %d while loading init1 firmware\n", |
711 | rc); | 714 | rc); |