[alsa-devel] [PATCH] ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read()

Manuel Lauss manuel.lauss at gmail.com
Mon Jan 15 09:25:15 CET 2018


On Mon, Jan 15, 2018 at 9:08 AM, Dan Carpenter <dan.carpenter at oracle.com> wrote:
> The loop timeout doesn't work because it's a post op and ends with "tmo"
> set to -1.  I changed it from a post-op to a pre-op and I changed the
> initial the starting value from 5 to 6 so we still iterate 5 times.  I
> left the other as it was because it's a large number.
>
> Fixes: b3c70c9ea62a ("ASoC: Alchemy AC97C/I2SC audio support")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Ackey-by: Manuel Lauss <manuel.lauss at gmail.com>

I didn't notice any failures with latest -git though, I've never
actually hit these
timeouts, even under maximum CPU load.

Manuel


More information about the Alsa-devel mailing list