OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 08:45:20 +0000 (09:45 +0100)
commit835004dc452aa5d0a2c25d65d9026f1d0a637ed4
tree3ce5d1cdda49e3fdc91f53ee2702a4fffffb34bc
parentef810a3d7d4e5c3d5a84e1169157adc11f81c6cd
ALSA: pcm: Add missing error checks in OSS emulation plugin builder

commit 6708913750344a900f2e73bfe4a4d6dbbce4fe8d upstream.

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.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/oss/pcm_plugin.c