OSDN Git Service

pcm: direct: check state before enter poll on timer
authorAndreas Pape <apape@de.adit-jv.com>
Tue, 10 Jan 2017 06:33:54 +0000 (12:03 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 Jan 2017 08:24:16 +0000 (09:24 +0100)
commit789ee39727a12d6573b4d79e9cd7a375e6b8b005
tree991bdf0c875cbf1266fcca932f601f18798a69ea
parent1a9bd0f0448106b917ae7f7bedccfcbf6ce84802
pcm: direct: check state before enter poll on timer

To avoid the chances of timeout, we need to check the enter poll
in state xrun.

Signed-off-by: Andreas Pape <apape@de.adit-jv.com>
Signed-off-by: Mounesh Sutar <mounesh_sutar@mentor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_direct.c
src/pcm/pcm_direct.h
src/pcm/pcm_dmix.c
src/pcm/pcm_dshare.c
src/pcm/pcm_dsnoop.c