ALSA: pcm: Allow state change from PAUSED to XRUN

Currently the PCM state cannot be changed from PAUSED to XRUN, but
this transition may happen really (e.g. the XRUN report got delayed
by some reason while the stream changed to PAUSED).

This patch allows the PCM state change from PAUSED to XRUN.
When it happens, the paused state is released and the stream is
stopped to XRUN state as usual.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
3 files changed