Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283891
b: refs/heads/master
c: 6664ee1
h: refs/heads/master
i:
  283889: 08724b1
  283887: 30b45a0
v: v3
  • Loading branch information
Mark Brown committed Dec 6, 2011
1 parent f992b40 commit 6edba85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 5d680b3a84b3e870fc1ea01495935e58e17de7aa
refs/heads/master: 6664ee115bb45d912d64d1c6b26bd3b96ef7df09
6 changes: 1 addition & 5 deletions trunk/sound/soc/codecs/wm8903.c
Original file line number Diff line number Diff line change
Expand Up @@ -2049,6 +2049,7 @@ static int wm8903_set_pdata_irq_trigger(struct i2c_client *i2c,

switch (irqd_get_trigger_type(irq_data)) {
case IRQ_TYPE_NONE:
default:
/*
* We assume the controller imposes no restrictions,
* so we are able to select active-high
Expand All @@ -2060,11 +2061,6 @@ static int wm8903_set_pdata_irq_trigger(struct i2c_client *i2c,
case IRQ_TYPE_LEVEL_LOW:
pdata->irq_active_low = true;
break;
default:
dev_err(&i2c->dev,
"Unsupported IRQ_TYPE %x\n",
irqd_get_trigger_type(irq_data));
return -EINVAL;
}

return 0;
Expand Down

0 comments on commit 6edba85

Please sign in to comment.