ALSA: dice: fix error path for initialization of stream structures
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 29 Aug 2019 14:37:19 +0000 (23:37 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 29 Aug 2019 15:00:37 +0000 (17:00 +0200)
commit6e26d193d15029a65e0904ad85d6d8634817c3a6
tree99c2d04dfdb43bc0f6c56a4da37d534c8437916f
parent67d94c21361959668da5b32ba1b1c1d4a3ddba21
ALSA: dice: fix error path for initialization of stream structures

When introducing AMDTP domain to ALSA dice driver, error path does not
handle error correctly. This commit fixes the bug.

Fixes: e9f21129b8d8 ("ALSA: dice: support AMDTP domain")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/dice/dice-stream.c