android_kernel_xiaomi_sm8350/sound/pci
Clemens Ladisch f1bc07af9a sound: oxygen: work around MCE when changing volume
When the volume is changed continuously (e.g., when the user drags a
volume slider with the mouse), the driver does lots of I2C writes.
Apparently, the sound chip can get confused when we poll the I2C status
register too much, and fails to complete a read from it.  On the PCI-E
models, the PCI-E/PCI bridge gets upset by this and generates a machine
check exception.

To avoid this, this patch replaces the polling with an unconditional
wait that is guaranteed to be long enough.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Tested-by: Johann Messner <johann.messner at jku.at>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-09-07 12:15:43 +02:00
..
ac97 Merge branch 'fix/misc' into for-linus 2009-05-22 19:29:08 +02:00
ali5451 ALSA: ali5451: fix timeout handling in snd_ali_{codecs,timer}_ready() 2009-08-23 18:58:07 +02:00
au88x0 sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
aw2 trivial: typo (en|dis|avail|remove)bale -> (en|dis|avail|remove)able 2009-06-12 18:01:45 +02:00
ca0106 Merge branch 'fix/misc' into for-linus 2009-07-21 19:03:22 +02:00
cs46xx sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
cs5535audio dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
ctxfi ALSA: ctxfi - Fix uninitialized error checks 2009-07-22 17:05:15 +02:00
echoaudio ALSA: indigo-express: add missing 64KHz flags 2009-04-28 11:19:39 +02:00
emu10k1 Remove multiple KERN_ prefixes from printk formats 2009-07-08 10:30:03 -07:00
hda Merge branch 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2009-08-20 10:19:39 -07:00
ice1712 sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
korg1212 ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some drivers 2009-04-28 15:06:44 +02:00
lx6464es ALSA: lx6464es - configure ethersound io channels 2009-06-25 09:41:53 +02:00
mixart sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
nm256 sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
oxygen sound: oxygen: work around MCE when changing volume 2009-09-07 12:15:43 +02:00
pcxhr dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
riptide ALSA: riptide - proper handling of pci_register_driver for joystick 2009-07-15 14:00:40 +02:00
rme9652 Merge branch 'topic/hdsp' into for-linus 2009-06-10 07:26:32 +02:00
trident dma-mapping: replace all DMA_30BIT_MASK macro with DMA_BIT_MASK(30) 2009-04-07 08:31:11 -07:00
vx222 sound: vx222: fix input level control range check 2009-08-24 09:46:08 +02:00
ymfpci sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
ad1889.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
ad1889.h
ak4531_codec.c
als300.c dma-mapping: replace all DMA_28BIT_MASK macro with DMA_BIT_MASK(28) 2009-04-07 08:31:12 -07:00
als4000.c dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) 2009-04-07 08:31:12 -07:00
atiixp_modem.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
atiixp.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
azt3328.c dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) 2009-04-07 08:31:12 -07:00
azt3328.h
bt87x.c ALSA: bt87x - Add a quirk entry for Askey Computer Corp. MagicTView'99 2009-06-02 17:39:52 +02:00
cmipci.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
cs4281.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
cs5530.c
ens1370.c sound: Use PCI_VDEVICE for CREATIVE and ECTIVA 2009-06-25 08:53:57 +02:00
ens1371.c
es1938.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
es1968.c dma-mapping: replace all DMA_28BIT_MASK macro with DMA_BIT_MASK(28) 2009-04-07 08:31:12 -07:00
fm801.c
intel8x0.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
intel8x0m.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
Kconfig Merge branch 'topic/oxygen' into for-linus 2009-06-10 07:26:39 +02:00
maestro3.c dma-mapping: replace all DMA_28BIT_MASK macro with DMA_BIT_MASK(28) 2009-04-07 08:31:12 -07:00
Makefile Merge branch 'topic/lx6464es' into for-linus 2009-06-10 07:26:34 +02:00
rme32.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
rme96.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
sis7019.c dma-mapping: replace all DMA_30BIT_MASK macro with DMA_BIT_MASK(30) 2009-04-07 08:31:11 -07:00
sis7019.h trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
sonicvibes.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
via82xx_modem.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00
via82xx.c sound: Use PCI_VDEVICE 2009-06-25 08:52:49 +02:00