git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
drivers
/
media
/
video
/
cpia2
/
cpia2_v4l.c
diff --git
a/drivers/media/video/cpia2/cpia2_v4l.c
b/drivers/media/video/cpia2/cpia2_v4l.c
index
d09f499
..
481e178
100644
(file)
--- a/
drivers/media/video/cpia2/cpia2_v4l.c
+++ b/
drivers/media/video/cpia2/cpia2_v4l.c
@@
-31,6
+31,7
@@
#include <linux/version.h>
#include <linux/version.h>
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/time.h>
#include <linux/module.h>
#include <linux/time.h>
@@
-342,9
+343,7
@@
static int cpia2_close(struct inode *inode, struct file *file)
cpia2_free_buffers(cam);
if (!cam->present) {
video_unregister_device(dev);
cpia2_free_buffers(cam);
if (!cam->present) {
video_unregister_device(dev);
- mutex_unlock(&cam->busy_lock);
kfree(cam);
kfree(cam);
- return 0;
}
}
}
}
@@
-1168,9
+1167,9
@@
static int ioctl_g_ctrl(void *arg,struct camera_data *cam)
} else {
if(cam->params.flicker_control.cam_register &
CPIA2_VP_FLICKER_MODES_50HZ) {
} else {
if(cam->params.flicker_control.cam_register &
CPIA2_VP_FLICKER_MODES_50HZ) {
- mode = FLICKER_50;
+ mode = FLICKER_50;
} else {
} else {
- mode = FLICKER_60;
+ mode = FLICKER_60;
}
}
for(i=0; i<NUM_FLICKER_CONTROLS; i++) {
}
}
for(i=0; i<NUM_FLICKER_CONTROLS; i++) {