[alsa-devel] [PATCH 1/2] ASoC: wm8996: match wait_for_completion_timeout return type

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Mon Mar 9 15:26:08 CET 2015


On Sun, Mar 08, 2015 at 06:02:15AM -0400, Nicholas Mc Guire wrote:
> return type of wait_for_completion_timeout is unsigned long not int. An
> appropriately named unsigned long is added and the assignment fixed up
> in case of completion occurring the remaining time is >=1 so ret is set to
> 1 if no timeout occurred.
> 
> Signed-off-by: Nicholas Mc Guire <hofrat at osadl.org>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>

Thanks,
Charles


More information about the Alsa-devel mailing list