]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: es1688: Add the missed snd_card_free()
authorChuhong Yuan <hslester96@gmail.com>
Wed, 3 Jun 2020 09:24:59 +0000 (17:24 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Jun 2020 09:40:55 +0000 (11:40 +0200)
commit049216da9d75ced95500940b793e272649a51b16
treeb3dcc1e872136bd3fd2a0a35d10d233888d7b62c
parent5ba2b47a77d637a7d5c1e6e513e37d8a84f18b47
ALSA: es1688: Add the missed snd_card_free()

snd_es968_pnp_detect() misses a snd_card_free() in a failed path.
Add the missed function call to fix it.

Fixes: 6f1db8dc6cae ("ALSA: Merge es1688 and es968 drivers")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200603092459.1424093-1-hslester96@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/es1688/es1688.c