alsa: resets POLLOUT event
authorWang Xingchao <xingchao.wang@intel.com>
Fri, 5 Aug 2011 14:33:17 +0000 (10:33 -0400)
committerColin Guthrie <colin@mageia.org>
Thu, 11 Aug 2011 13:31:48 +0000 (15:31 +0200)
commitbe3879e04e890553abcd9dd27307126bf86aac41
tree90cbdbf3e55408533f210e36d2121214dace723c
parente564129b8ff6525eaecdd997a907cd6065cb587e
alsa: resets POLLOUT event

revents marked as POLLOUT|POLLERR|POLLWRNORM in "underrun" case that will
trigger unexpected log "ALSA woke us up to write new data to the device, but
there was acturally nothing to write...".

This patch avoids this log message.
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c