OpenCloudOS-Kernel/sound/soc/au1x
Dan Carpenter 123af9043e
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: b3c70c9ea6 ("ASoC: Alchemy AC97C/I2SC audio support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-01-15 18:46:04 +00:00
..
Kconfig MIPS: Alchemy: Improved DB1550 support, with audio and serial busses. 2011-12-07 22:02:06 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ac97c.c ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read() 2018-01-15 18:46:04 +00:00
db1000.c ASoC: au1x: Convert to devm_snd_soc_register_card 2015-09-14 18:28:24 +01:00
db1200.c ASoC: aux1x: make snd_soc_ops const 2017-08-17 18:07:36 +01:00
dbdma2.c ASoC: au1x: constify snd_pcm_ops structures 2017-08-14 17:17:10 +01:00
dma.c ASoC: au1x: constify snd_pcm_ops structures 2017-08-14 17:17:10 +01:00
i2sc.c ASoC: au1x: drop owner assignment from platform_drivers 2014-10-20 16:22:04 +02:00
psc-ac97.c ASoC: psc-ac97: constify dev_pm_ops structure 2017-07-17 15:17:00 +01:00
psc-i2s.c ASoC: au1x: psc-i2s: constify dev_pm_ops structure 2017-07-17 15:17:39 +01:00
psc.h MIPS: Alchemy: remove au_read/write/sync 2014-07-30 13:56:34 +02:00