]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: nuc900: Fix a loop timeout test
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 9 Dec 2017 11:52:28 +0000 (14:52 +0300)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:33:47 +0000 (21:33 -0400)
commit97097bf1ba93ed086458bbb815a5186140d7dc25
tree45c1e03f95ff4345f7a798a0e79ea1f7c13ddbff
parent38a1080acf6c51f5431bf6a16fad2164d4ac84e4
ASoC: nuc900: Fix a loop timeout test

[ Upstream commit 65a12b3aafed5fc59f4ce41b22b752b1729e6701 ]

We should be finishing the loop with timeout set to zero but because
this is a post-op we finish with timeout == -1.

Fixes: 1082e2703a2d ("ASoC: NUC900/audio: add nuc900 audio driver support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
sound/soc/nuc900/nuc900-ac97.c