Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39069
b: refs/heads/master
c: 104326f
h: refs/heads/master
i:
  39067: 6da6942
v: v3
  • Loading branch information
Florin Malita authored and Jaroslav Kysela committed Oct 6, 2006
1 parent cdf3917 commit c0b5aef
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 92b93d31718a3ccbbcf911d2f570bb345c496d66
refs/heads/master: 104326f8df9925317cca64b84249d3eac5de7c74
3 changes: 2 additions & 1 deletion trunk/sound/core/hwdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ static int snd_hwdep_release(struct inode *inode, struct file * file)
{
int err = -ENXIO;
struct snd_hwdep *hw = file->private_data;
struct module *mod = hw->card->module;
mutex_lock(&hw->open_mutex);
if (hw->ops.release) {
err = hw->ops.release(hw, file);
Expand All @@ -167,7 +168,7 @@ static int snd_hwdep_release(struct inode *inode, struct file * file)
hw->used--;
snd_card_file_remove(hw->card, file);
mutex_unlock(&hw->open_mutex);
module_put(hw->card->module);
module_put(mod);
return err;
}

Expand Down

0 comments on commit c0b5aef

Please sign in to comment.