]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: sst: fix a loop timeout in sst_hsw_stream_reset()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Apr 2016 11:36:06 +0000 (14:36 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2016 17:06:29 +0000 (10:06 -0700)
commit5b8655d3f00c5634dab22f4d276ab76a5b334992
tree3ce652ccc766ba70e53f246f769acf6662ea26d4
parent18aaac40029ee5736b038c4f941b70bd8dbc20f7
ASoC: Intel: sst: fix a loop timeout in sst_hsw_stream_reset()

In the original code we ended the loop with tries set to -1 instead of
zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/haswell/sst-haswell-ipc.c