]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ALSA: seq: Do error checks at creating system ports
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Aug 2018 10:49:43 +0000 (12:49 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:16:24 +0000 (13:16 +0100)
commit190e1020445e651b96d34d80cfad072aeab61696
tree6c2d70b05b03d4ce0ee2f8d0967441c55ea7c1f5
parent758238fcf85e019d6e18e7378dfb93a1661d7d33
ALSA: seq: Do error checks at creating system ports

BugLink: https://bugs.launchpad.net/bugs/1853915
[ Upstream commit b8e131542b47b81236ecf6768c923128e1f5db6e ]

snd_seq_system_client_init() doesn't check the errors returned from
its port creations.  Let's do it properly and handle the error paths.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/core/seq/seq_system.c