staging: most: fix pcm_write input/output error
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 28 Sep 2015 15:18:58 +0000 (17:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:18:53 +0000 (03:18 +0200)
commit5e8aa94e97790b4092f6694ab7f381e6791d3245
tree9e0e62b98c4a5f2549fc96a84d095f5e33d4eff0
parentaac997dfdd58eec1add02dae09030caeddc1abe6
staging: most: fix pcm_write input/output error

This patch keeps the process from sleeping after the PCM middle layer has
stopped playback by calling the pcm trigger callback. The patch is needed
to prevent aplay from causing a pcm_write Input/Output error.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-sound/sound.c