[alsa-devel] [TINYCOMPRESS][PATCH 1/1] compress: Must check for POLLERR before POLLOUT/POLLIN
vinod.koul at intel.com
Wed Sep 25 12:15:28 CEST 2013
On Thu, Aug 29, 2013 at 09:32:02AM +0100, Richard Fitzgerald wrote:
> In the case of error the ALSA compressed driver sets revents as
> (POLLOUT | POLLWRNORM | POLLERR) or (POLLIN | POLLWRNORM | POLLERR).
> So we can't assume that POLLOUT or POLLIN indicate success, we must
> check for POLLERR first.
Sorry looks like I missed this earlier...
More information about the Alsa-devel