Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142048
b: refs/heads/master
c: 7fbc3a9
h: refs/heads/master
v: v3
  • Loading branch information
Riku Voipio authored and Richard Purdie committed Apr 6, 2009
1 parent 5f727cf commit d95ec3e
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: b0edba7ef89a64614e40023bf87ed5b402834e04
refs/heads/master: 7fbc3a9b132e93b2ba1fd889c1ad8a4135731cc3
2 changes: 1 addition & 1 deletion trunk/drivers/leds/leds-pca9532.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static int pca9532_event(struct input_dev *dev, unsigned int type,
{
struct pca9532_data *data = input_get_drvdata(dev);

if (type != EV_SND && (code != SND_BELL || code != SND_TONE))
if (!(type == EV_SND && (code == SND_BELL || code == SND_TONE)))
return -1;

/* XXX: allow different kind of beeps with psc/pwm modifications */
Expand Down

0 comments on commit d95ec3e

Please sign in to comment.