Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323452
b: refs/heads/master
c: 02d9be1
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Jiri Kosina committed Sep 8, 2012
1 parent eda9cd0 commit 9e8ab8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: eb9001cd8ffff9c9b1ed1ea85d36c862bea964c0
refs/heads/master: 02d9be1aa6e93f4819f230a1d570e2ff415fa294
2 changes: 1 addition & 1 deletion trunk/drivers/hid/hid-picolcd_cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int picolcd_raw_cir(struct picolcd_data *data,

/* ignore if rc_dev is NULL or status is shunned */
spin_lock_irqsave(&data->lock, flags);
if (data->rc_dev && (data->status & PICOLCD_CIR_SHUN)) {
if (!data->rc_dev || (data->status & PICOLCD_CIR_SHUN)) {
spin_unlock_irqrestore(&data->lock, flags);
return 1;
}
Expand Down

0 comments on commit 9e8ab8c

Please sign in to comment.