mbox series

[0/2] ALSA: echoaudio: Fix the probe error handling

Message ID 20220412093141.8008-1-tiwai@suse.de
Headers show
Series ALSA: echoaudio: Fix the probe error handling | expand

Message

Takashi Iwai April 12, 2022, 9:31 a.m. UTC
Hi,

this is a patch set to address the regression of the error handling
in the echoaudio driver probe phase.  Similar error patterns are seen
in other drivers, and the newly introduced helper will be used later
for those, too.


Takashi

===

Takashi Iwai (2):
  ALSA: core: Add snd_card_free_on_error() helper
  ALSA: echoaudio: Fix the missing snd_card_free() call at probe error

 include/sound/core.h            |  1 +
 sound/core/init.c               | 28 ++++++++++++++++++++++++++++
 sound/pci/echoaudio/echoaudio.c |  9 +++++++--
 3 files changed, 36 insertions(+), 2 deletions(-)