V4L/DVB (6643): xc2028: use best match instead of first partial match during firmware...
authorChris Pascoe <c.pascoe@itee.uq.edu.au>
Mon, 19 Nov 2007 13:04:06 +0000 (10:04 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:28 +0000 (19:02 -0200)
commitb1535293dc816f01b0934718c370f9533c7d635e
treedba0a95be2648e66402c805ce470efd755d2051e
parent0a196b6fa9b42a2bb49733b37565aaaa97ffb07f
V4L/DVB (6643): xc2028: use best match instead of first partial match during firmware selection

Rather than picking the first video standard firmware that supports any of
the standards that the user has requested, try to select one that supports
as many of them as possible.  This improves the likelihood that the firmware
we select will support the user's desired TV standard.

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