]> git.alsa-project.org Git - tinycompress.git/commit
compress: compress_wait() must return error if timed out
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 22 Oct 2013 10:51:58 +0000 (11:51 +0100)
committerVinod Koul <vinod.koul@intel.com>
Tue, 12 Nov 2013 04:59:39 +0000 (10:29 +0530)
commit9b8aeec3d69d7f927bbdd695eb9d676ee4ac3c94
tree2254a46f49d4aab7babe1e29d2726372b042814e
parent2b0410a2575ee3a66cc968672c1a548ac2bc8e8c
compress: compress_wait() must return error if timed out

The caller must be certain that a return of 0 really means
that compress is ready for more data, so when poll() returns
0 for a timeout we must report that as an error.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
compress.c