]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: lx6464es - fix device communication via command bus
authorTim Blechmann <tim@klingt.org>
Tue, 22 Nov 2011 10:15:45 +0000 (11:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Nov 2011 10:53:11 +0000 (11:53 +0100)
commit9d6afd84ea62fd77bab027a9be7cf9e25c2b398f
tree8293c90710effa830249e8fde67472495cff9374
parentc6f8c0b9ba37fd3e3bddb56e4ca47a7ea2e6c597
ALSA: lx6464es - fix device communication via command bus

commit 12ad0a988986bc6580a56f3fd8038cf36b20f92b optimized the mem*io
functions that have been used to send commands to the device. these
optimizations somehow corrupted the communication with the lx6464es,
that resulted the device to be unusable with kernels after 2.6.33.

this patch emulates the memcpy_*_io functions via a loop to avoid these
problems.

Signed-off-by: Tim Blechmann <tim@klingt.org>
LKML-Reference: <4ECB5257.4040600@ladisch.de>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/lx6464es/lx_core.c