mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 10:06:48 +07:00
f1bc07af9a
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> |
||
---|---|---|
.. | ||
ak4396.h | ||
cm9780.h | ||
cs4362a.h | ||
cs4398.h | ||
hifier.c | ||
Makefile | ||
oxygen_io.c | ||
oxygen_lib.c | ||
oxygen_mixer.c | ||
oxygen_pcm.c | ||
oxygen_regs.h | ||
oxygen.c | ||
oxygen.h | ||
pcm1796.h | ||
virtuoso.c | ||
wm8785.h |