Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264142
b: refs/heads/master
c: 61a6a10
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Pfaff authored and Takashi Iwai committed Sep 26, 2011
1 parent 292acc9 commit f6617e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: e0d32e335fc0e354db93a807736243f5035fbc67
refs/heads/master: 61a6a108d15213f5ee06332e1e7766d3860e4453
8 changes: 5 additions & 3 deletions trunk/sound/usb/card.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,9 +530,11 @@ snd_usb_audio_probe(struct usb_device *dev,
return chip;

__error:
if (chip && !chip->num_interfaces)
snd_card_free(chip->card);
chip->probing = 0;
if (chip) {
if (!chip->num_interfaces)
snd_card_free(chip->card);
chip->probing = 0;
}
mutex_unlock(&register_mutex);
__err_val:
return NULL;
Expand Down

0 comments on commit f6617e6

Please sign in to comment.