V4L/DVB (6853): xc2028: check HAS_IF flag against table
authorChris Pascoe <c.pascoe@itee.uq.edu.au>
Sun, 2 Dec 2007 09:54:17 +0000 (06:54 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:04:00 +0000 (19:04 -0200)
commit9ca01e780f8966a7a94f88ef5c54f340e117abea
tree0e69e0efa7b6b65ba7b60c3d4814800aed778d3d
parentad35ce9e3e03b1515c8581bababb0e64d05cf1ad
V4L/DVB (6853): xc2028: check HAS_IF flag against table

When searching for the right S-Code table to load, check the HAS_IF flag
against the firmware we are checking instead of against the the "type"
requested.  We already ignore the scode type requested if the caller passed
an int_freq; this makes the search by frequency consistent with that behaviour.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-xc2028.c