ASoC: wm8996: match wait_for_completion_timeout return type
authorNicholas Mc Guire <hofrat@osadl.org>
Sun, 8 Mar 2015 10:02:15 +0000 (06:02 -0400)
committerMark Brown <broonie@kernel.org>
Mon, 9 Mar 2015 18:15:44 +0000 (18:15 +0000)
commit62c76fe2e580f6a975679e8711bade09e24c204b
treead949e701201b4c8ad4754c969ec9e00a22aeab3
parentc517d838eb7d07bbe9507871fab3931deccff539
ASoC: wm8996: match wait_for_completion_timeout return type

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@osadl.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8996.c