[media] pvrusb2: For querystd, start with list of hardware-supported standards
authorMike Isely <isely@pobox.com>
Mon, 20 Feb 2012 05:40:56 +0000 (02:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 May 2012 19:58:00 +0000 (16:58 -0300)
commitaeebb1b3146a70bf02d0115a2be690d856d12e8c
treee712ddbde6a76495a32d1c7fd41a4bb7eeabfe12
parentc0bb609fdc0b842799d5108aec7fae13b0fd32cd
[media] pvrusb2: For querystd, start with list of hardware-supported standards

The V4L querystd implementation appears to want to narrow down the
list of available standards by starting with a hardware-supported list
and then attempting to detect which among those are actually
available.  Prior to this change in the pvrusb2 driver we started with
all possible standards.  With this change in place we instead narrow
to just the standards that we know the hardware can actually support.
For example, this removes the ATSC standards from the list if we
aren't dealing with a hybrid device...

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-hdw.c