V4L/DVB (8773): cx18: Fix cx18_find_handle() and add error checking
authorAndy Walls <awalls@radix.net>
Sat, 23 Aug 2008 19:42:29 +0000 (16:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:53 +0000 (09:36 -0200)
commitd3c5e7075508a6874d1a53d0a409b0bbbe3a9fbe
treea9e6884ac71641938abc1866e5d81f607bd5f907
parentb04bce476c57ac844962462ee4c813c44fa942cf
V4L/DVB (8773): cx18: Fix cx18_find_handle() and add error checking

cx18: Fix cx18_find_handle() and add error checking.  cx18_find_handle() did
not find a good task handle and would use the invalid task handle under common
conditions.  Added a define for the invalid task handle and added error checking
as well.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-driver.h
drivers/media/video/cx18/cx18-fileops.c
drivers/media/video/cx18/cx18-ioctl.c
drivers/media/video/cx18/cx18-streams.c