patch-2.4.22 linux-2.4.22/drivers/media/video/cpia_pp.c

Next file: linux-2.4.22/drivers/media/video/i2c-compat.h
Previous file: linux-2.4.22/drivers/media/video/bttvp.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/media/video/cpia_pp.c linux-2.4.22/drivers/media/video/cpia_pp.c
@@ -383,8 +383,8 @@
 			return -EINVAL;
 		}
 		if((err = ReadPacket(cam, buffer, 8)) < 0) {
-			return err;
 			DBG("Error reading command result\n");
+                       return err;
 		}
 		memcpy(data, buffer, databytes);
 	} else if(command[0] == DATA_OUT) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)