Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61324
b: refs/heads/master
c: 3770be3
h: refs/heads/master
v: v3
  • Loading branch information
Luca Risolia authored and Mauro Carvalho Chehab committed Jul 18, 2007
1 parent 50dfd91 commit 7d5c1e5
Show file tree
Hide file tree
Showing 6 changed files with 359 additions and 130 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a6e2b40cb430e1e3a22fbb56807edebf71bf6188
refs/heads/master: 3770be34199ace8c497ce454cebd7d63347dc4c3
3 changes: 2 additions & 1 deletion trunk/Documentation/video4linux/sn9c102.txt
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ HV7131D Hynix Semiconductor | Yes No No No
HV7131R Hynix Semiconductor | No Yes Yes Yes
MI-0343 Micron Technology | Yes No No No
MI-0360 Micron Technology | No Yes Yes Yes
OV7630 OmniVision Technologies | Yes Yes No No
OV7630 OmniVision Technologies | Yes Yes Yes Yes
OV7660 OmniVision Technologies | No No Yes Yes
PAS106B PixArt Imaging | Yes No No No
PAS202B PixArt Imaging | Yes Yes No No
Expand Down Expand Up @@ -583,6 +583,7 @@ order):
- Bertrik Sikken, who reverse-engineered and documented the Huffman compression
algorithm used in the SN9C101, SN9C102 and SN9C103 controllers and
implemented the first decoder;
- Ronny Standke for the donation of a webcam;
- Mizuno Takafumi for the donation of a webcam;
- an "anonymous" donator (who didn't want his name to be revealed) for the
donation of a webcam.
Expand Down
9 changes: 6 additions & 3 deletions trunk/drivers/media/video/sn9c102/sn9c102.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <linux/mutex.h>
#include <linux/string.h>
#include <linux/stddef.h>
#include <linux/kref.h>

#include "sn9c102_config.h"
#include "sn9c102_sensor.h"
Expand Down Expand Up @@ -94,7 +95,7 @@ struct sn9c102_module_param {
};

static DEFINE_MUTEX(sn9c102_sysfs_lock);
static DECLARE_RWSEM(sn9c102_disconnect);
static DECLARE_RWSEM(sn9c102_dev_lock);

struct sn9c102_device {
struct video_device* v4ldev;
Expand Down Expand Up @@ -122,12 +123,14 @@ struct sn9c102_device {

struct sn9c102_module_param module_param;

struct kref kref;
enum sn9c102_dev_state state;
u8 users;

struct mutex dev_mutex, fileop_mutex;
struct completion probe;
struct mutex open_mutex, fileop_mutex;
spinlock_t queue_lock;
wait_queue_head_t open, wait_frame, wait_stream;
wait_queue_head_t wait_open, wait_frame, wait_stream;
};

/*****************************************************************************/
Expand Down
Loading

0 comments on commit 7d5c1e5

Please sign in to comment.