android_kernel_oneplus_msm8998/sound/soc/au1x
Dan Carpenter 7c11bd3dc8 ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read()
[ Upstream commit 123af9043e93cb6f235207d260d50f832cdb5439 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:48:52 +02:00
..
ac97c.c ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read() 2018-05-30 07:48:52 +02:00
db1000.c ASoC: au1x: Convert to devm_snd_soc_register_card 2015-09-14 18:28:24 +01:00
db1200.c Merge branch 'for-linus' into for-next 2015-10-13 11:37:06 +02:00
dbdma2.c ASoC: au1x: Convert to devm_snd_soc_register_platform 2015-08-28 17:52:28 +01:00
dma.c ASoC: au1x: Convert to devm_snd_soc_register_platform 2015-08-28 17:52:28 +01:00
i2sc.c ASoC: au1x: drop owner assignment from platform_drivers 2014-10-20 16:22:04 +02:00
Kconfig MIPS: Alchemy: Improved DB1550 support, with audio and serial busses. 2011-12-07 22:02:06 +00:00
Makefile ASoC: Add a DB1x00 AC97 machine driver 2011-07-27 19:10:48 +01:00
psc-ac97.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
psc-i2s.c ASoC: au1x: psc-i2s: Fix unused variable 'ret' warning 2015-09-14 18:38:40 +01:00
psc.h MIPS: Alchemy: remove au_read/write/sync 2014-07-30 13:56:34 +02:00