Skip to content

ALSA: echoaudio: Fix the probe error handling

Takashi Iwai alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ALSA: core: Add snd_card_free_on_error() helperinclude/sound/core.h sound/core/init.c+29 -02 replies
2/2ALSA: echoaudio: Fix the missing snd_card_free() call at probe errorsound/pci/echoaudio/echoaudio.c+7 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchZheyu Ma
1/2
2/2Reported-and-tested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.31.1