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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 3 Mar 2018 15:50:54 +0000 (15:50 +0000)
commitde98c69ff495ba992f6ddbbf097d3311ae92db34
treef119f8f2c4e677354583fe21841fad2cff96fda8
parent99968853fcef73565a8289cf22b1e247ba504de4
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: Ben Hutchings <ben@decadent.org.uk>
sound/core/oss/pcm_plugin.c