Loading sound/usb/card.c +4 −1 Original line number Diff line number Diff line Loading @@ -742,9 +742,12 @@ static int usb_audio_probe(struct usb_interface *intf, __error: if (chip) { /* chip->active is inside the chip->card object, * decrement before memory is possibly returned. */ atomic_dec(&chip->active); if (!chip->num_interfaces) snd_card_free(chip->card); atomic_dec(&chip->active); } mutex_unlock(®ister_mutex); return err; Loading Loading
sound/usb/card.c +4 −1 Original line number Diff line number Diff line Loading @@ -742,9 +742,12 @@ static int usb_audio_probe(struct usb_interface *intf, __error: if (chip) { /* chip->active is inside the chip->card object, * decrement before memory is possibly returned. */ atomic_dec(&chip->active); if (!chip->num_interfaces) snd_card_free(chip->card); atomic_dec(&chip->active); } mutex_unlock(®ister_mutex); return err; Loading