summaryrefslogtreecommitdiffstats
path: root/sound/arm/aaci.c
diff options
context:
space:
mode:
authorDan Carpenter2018-01-15 09:08:38 +0100
committerMark Brown2018-01-15 19:46:04 +0100
commit123af9043e93cb6f235207d260d50f832cdb5439 (patch)
treed27f6078e32e9917616d2e67ffa52276d709a705 /sound/arm/aaci.c
parentLinux 4.15-rc1 (diff)
downloadkernel-qcow2-linux-123af9043e93cb6f235207d260d50f832cdb5439.tar.gz
kernel-qcow2-linux-123af9043e93cb6f235207d260d50f832cdb5439.tar.xz
kernel-qcow2-linux-123af9043e93cb6f235207d260d50f832cdb5439.zip
ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read()
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@oracle.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/arm/aaci.c')
0 files changed, 0 insertions, 0 deletions