V4L/DVB (8895): pvrusb2: Fail gracefully if an alien USB ID is used
authorMike Isely <isely@pobox.com>
Sat, 30 Aug 2008 21:11:40 +0000 (18:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:57 +0000 (09:36 -0200)
commitfe15f13679bf52bb5c8acb8b4847e6d73ba62c17
tree2b64c12e10c0ca892e3cf9307059e5e682780316
parent157afbc0de7d99cde39a5525b4c43acd4e02ef82
V4L/DVB (8895): pvrusb2: Fail gracefully if an alien USB ID is used

The driver includes an internal table specifying additional
information on a per device-type basis.  This works great until
somebody tries to run-time associate another USB ID with the driver.
This change should hopefully allow the driver to fail gracefully under
such a circumstance.

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