Fix infinite loop in snd_pcm_wait()
Fix infinite loop in snd_pcm_wait()

Fix possible infinite loop in snd_pcm_wait() with direct plugins
when XRUN occurs during poll.

alsa-project/alsa-lib,mengdonglin/alsa-lib,takaswie/alsa-lib,mikelima/alsa-lib,Distrotech/alsa-lib,alsa-project/alsa-lib,lgirdwood/alsa-lib,mengdonglin/alsa-lib,gittup/alsa-lib,alsa-project/alsa-lib,zedongchen/alsa-lib,takaswie/alsa-lib,mikelima/alsa-lib,tiwai/alsa-lib,gittup/alsa-lib,gittup/alsa-lib,takaswie/alsa-lib,lgirdwood/alsa-lib,mikelima/alsa-lib,zedongchen/alsa-lib,mikelima/alsa-lib,mengdonglin/alsa-lib,lgirdwood/alsa-lib,mengdonglin/alsa-lib,mengdonglin/alsa-lib,tiwai/alsa-lib,zedongchen/alsa-lib,Distrotech/alsa-lib,takaswie/alsa-lib,takaswie/alsa-lib,Distrotech/alsa-lib,lgirdwood/alsa-lib,alsa-project/alsa-lib,zedongchen/alsa-lib,lgirdwood/alsa-lib,zedongchen/alsa-lib,mikelima/alsa-lib,Distrotech/alsa-lib,tiwai/alsa-lib,Distrotech/alsa-lib,gittup/alsa-lib,tiwai/alsa-lib