Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196595
b: refs/heads/master
c: 6237cda
h: refs/heads/master
i:
  196593: db03ebc
  196591: b98ab9e
v: v3
  • Loading branch information
d binderman authored and Benjamin Herrenschmidt committed Apr 7, 2010
1 parent 726a1b9 commit 4e1773d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 469d62be9263b92f2c3329540cbb1c076111f4f3
refs/heads/master: 6237cdac5dd26d5ba81acf5daa737c8645614410
9 changes: 3 additions & 6 deletions trunk/sound/aoa/core/gpio-pmf.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,9 @@ static void pmf_gpio_exit(struct gpio_runtime *rt)
mutex_destroy(&rt->line_in_notify.mutex);
mutex_destroy(&rt->line_out_notify.mutex);

if (rt->headphone_notify.gpio_private)
kfree(rt->headphone_notify.gpio_private);
if (rt->line_in_notify.gpio_private)
kfree(rt->line_in_notify.gpio_private);
if (rt->line_out_notify.gpio_private)
kfree(rt->line_out_notify.gpio_private);
kfree(rt->headphone_notify.gpio_private);
kfree(rt->line_in_notify.gpio_private);
kfree(rt->line_out_notify.gpio_private);
}

static void pmf_handle_notify_irq(void *data)
Expand Down

0 comments on commit 4e1773d

Please sign in to comment.