[alsa-devel] [PATCH TINYCOMPRESS 7/14] compress: Remove hardcoded limit on length of poll() wait

Vinod Koul vinod.koul at intel.com
Mon Feb 11 07:45:27 CET 2013


On Sun, Feb 10, 2013 at 12:13:08AM +0000, Richard Fitzgerald wrote:
> 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.
Looks okay, but shouldnt this be part of compress_config and if not initialized
we switch to default value.

--
~Vinod


More information about the Alsa-devel mailing list