Skip to content

Commit

Permalink
V4L/DVB (7200): Fix FM firmware loading
Browse files Browse the repository at this point in the history
There's no need to load SCode table for FM.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mauro Carvalho Chehab committed Feb 18, 2008
1 parent 83db33a commit 40ae91a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/media/video/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ static int check_firmware(struct dvb_frontend *fe, unsigned int type,
goto check_device;
}

if (new_fw.type & FM)
goto check_device;

/* Load SCODE firmware, if exists */
tuner_dbg("Trying to load scode %d\n", new_fw.scode_nr);

Expand Down

0 comments on commit 40ae91a

Please sign in to comment.