commit | 62c76fe2e580f6a975679e8711bade09e24c204b | [log] [tgz] |
---|---|---|
author | Nicholas Mc Guire <hofrat@osadl.org> | Sun Mar 08 06:02:15 2015 -0400 |
committer | Mark Brown <broonie@kernel.org> | Mon Mar 09 18:15:44 2015 +0000 |
tree | ad949e701201b4c8ad4754c969ec9e00a22aeab3 | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 [diff] |
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>