]> git.alsa-project.org Git - tinycompress.git/commit
compress: Remove hardcoded limit on length of poll() wait
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Fri, 22 Feb 2013 16:03:25 +0000 (16:03 +0000)
committerVinod Koul <vinod.koul@intel.com>
Fri, 22 Feb 2013 18:08:12 +0000 (23:38 +0530)
commit83f02781b29df09118be4a1021496334778227ca
treec1a8b281b43cefd1c6cec9ab322a06c8c7a8c555
parentf9f3d07178c0a880e4c63e7a72ec154a79ace888
compress: Remove hardcoded limit on length of poll() wait

For best power-saving we want to sleep on poll() for as long as
possible, we don't want to wake unnecessarily for arbitrary time
limits. Adds function compress_set_max_poll_wait() so that
client can configure the poll() timeout.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
compress.c
include/tinycompress/tinycompress.h