android_kernel_xiaomi_sm8350/sound
Hermann Lauer 19e2e3c304 [ALSA] es1938 - improve capture hw pointer reads
With the Solo1 (es1938) I got a lot of xrun's during capture on my machine.
Tracing that down it seems to be comming from reading ocassionaly bad hw
pointers from the chip.  This patch uses more checking to avoid that false
pointer reads.
Failed reads are giving back the last good value read instead of spinning in
a tight loop, which seems more appropriate to me in an interrupt. I think I
saw this trick used in another driver

Signed-off-by: Hermann Lauer <Hermann.Lauer@iwr.uni-heidelberg.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-01-31 17:30:23 +01:00
..
aoa [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
arm [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
core [ALSA] Fix Oops with PCM OSS sync 2008-01-31 17:30:20 +01:00
drivers [ALSA] sound: fix mts64 section mismatches 2008-01-31 17:30:00 +01:00
i2c [ALSA] fm801 - Add mute support for FM-only card with FM801 PCI to tuner bridge 2008-01-31 17:30:14 +01:00
isa [ALSA] fix opti9xx/miro section mismatch 2008-01-31 17:30:12 +01:00
mips [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
oss [ARM] Remove pointless casts from void pointers, 2008-01-26 14:50:00 +00:00
parisc [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
pci [ALSA] es1938 - improve capture hw pointer reads 2008-01-31 17:30:23 +01:00
pcmcia [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
ppc [ALSA] snd-powermac: handle dead DMA transfers 2008-01-31 17:30:01 +01:00
sh [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
soc [ALSA] Fix lockdep warning in ASoC machine probe 2008-01-31 17:30:09 +01:00
sparc [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
spi [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
synth [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
usb [ALSA] usb/caiaq: decrease period_bytes_min 2008-01-31 17:30:14 +01:00
ac97_bus.c
Kconfig [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
last.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
Makefile [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
sound_core.c
sound_firmware.c