Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65915
b: refs/heads/master
c: 7c596fa
h: refs/heads/master
i:
  65913: 2d084c0
  65911: 1d6a141
v: v3
  • Loading branch information
Brett Warden authored and Mauro Carvalho Chehab committed Oct 10, 2007
1 parent c51f842 commit c5ad3e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: b5457b7bdf284d683880163a4c59fdde2f84325a
refs/heads/master: 7c596fa964806acb3b5ababb7ec4e1da35b140b3
8 changes: 4 additions & 4 deletions trunk/drivers/media/video/bw-qcam.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static inline void write_lpdata(struct qcam_device *q, int d)

static inline void write_lpcontrol(struct qcam_device *q, int d)
{
if(0x20 & d) {
if (d & 0x20) {
/* Set bidirectional mode to reverse (data in) */
parport_data_reverse(q->pport);
} else {
Expand Down Expand Up @@ -355,11 +355,11 @@ static int qc_detect(struct qcam_device *q)
/* Be (even more) liberal in what you accept... */

/* if (count > 30 && count < 200) */
if (count > 20 && count < 400)
{
if (count > 20 && count < 400) {
return 1; /* found */
} else {
printk(KERN_ERR "No Quickcam found on port %s\n", q->pport->name);
printk(KERN_ERR "No Quickcam found on port %s\n",
q->pport->name);
return 0; /* not found */
}
}
Expand Down

0 comments on commit c5ad3e3

Please sign in to comment.