Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344961
b: refs/heads/master
c: eae9a9c
h: refs/heads/master
i:
  344959: 800b5bb
v: v3
  • Loading branch information
Peter Ujfalusi authored and Samuel Ortiz committed Nov 13, 2012
1 parent 4e4ef81 commit bbac3a7
Show file tree
Hide file tree
Showing 2 changed files with 3 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: a32415202f709f39a059f776da28248c499e0bb5
refs/heads/master: eae9a9c85b106163b293bf8b0fec44943e98677c
6 changes: 2 additions & 4 deletions trunk/drivers/mfd/twl6040-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ static irqreturn_t twl6040_naudint_handler(int irq, void *data)
return IRQ_HANDLED;
}

static int twl6040_power_up_completion(struct twl6040 *twl6040,
int naudint)
static int twl6040_power_up_completion(struct twl6040 *twl6040)
{
int time_left;
u8 intid;
Expand All @@ -241,7 +240,6 @@ static int twl6040_power_up_completion(struct twl6040 *twl6040,
int twl6040_power(struct twl6040 *twl6040, int on)
{
int audpwron = twl6040->audpwron;
int naudint = twl6040->irq;
int ret = 0;

mutex_lock(&twl6040->mutex);
Expand All @@ -255,7 +253,7 @@ int twl6040_power(struct twl6040 *twl6040, int on)
/* use AUDPWRON line */
gpio_set_value(audpwron, 1);
/* wait for power-up completion */
ret = twl6040_power_up_completion(twl6040, naudint);
ret = twl6040_power_up_completion(twl6040);
if (ret) {
dev_err(twl6040->dev,
"automatic power-up failed\n");
Expand Down

0 comments on commit bbac3a7

Please sign in to comment.