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>
This commit is contained in:
Mauro Carvalho Chehab 2007-11-22 11:47:18 -03:00
parent 2800ae9cd6
commit cca8379811
1 changed files with 3 additions and 0 deletions

View File

@ -734,6 +734,9 @@ static int check_firmware(struct dvb_frontend *fe, enum tuner_mode new_mode,
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;