[PATCH] cpia.c (2.4.9-ac)

Michael Marxmeier (mike@marxmeier.com)
Tue, 25 Sep 2001 02:41:20 +0200


My CPIA based camera ceased working with 2.4.9-ac9. The patch
below corrects a small thinko (still present with ac15).

--- cpia.c.orig Tue Sep 25 01:52:08 2001
+++ cpia.c Tue Sep 25 01:52:33 2001
@@ -2871,7 +2871,7 @@

/* set video size */
video_size = match_videosize(vm.width, vm.height);
- if (cam->video_size < 0) {
+ if (video_size < 0) {
retval = -EINVAL;
break;
}

Michael

-- 
Michael Marxmeier           Marxmeier Software AG
E-Mail: mike@marxmeier.com  Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.marxmeier.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/