]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c71ee89e8a6fc065df305897a5931811236dfb7
treead949e701201b4c8ad4754c969ec9e00a22aeab3
parentb7d65746744b343701de14ca433982a3229390be
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