]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ALSA: pcm: Add missing error checks in OSS emulation plugin builder
authorTakashi Iwai <tiwai@suse.de>
Thu, 4 Jan 2018 15:39:27 +0000 (16:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Jan 2018 15:39:27 +0000 (16:39 +0100)
commit6708913750344a900f2e73bfe4a4d6dbbce4fe8d
tree6087e8ca2ed457d31f55f54d5d2d066a848bcebb
parentfe08f34d066f4404934a509b6806db1a4f700c86
ALSA: pcm: Add missing error checks in OSS emulation plugin builder

In the OSS emulation plugin builder where the frame size is parsed in
the plugin chain, some places miss the possible errors returned from
the plugin src_ or dst_frames callback.

This patch papers over such places.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/pcm_plugin.c