]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 16 Dec 2011 01:14:24 +0000 (17:14 -0800)
commit8dfc0e8e3e956bff999f5e3daa1c437d227ad168
treefbf4ea02191c634cfdcb818c85c4f56ee86ad777
parent1049eb2846dcf24eb8b6cdb563953055f67cafc4
ALSA: lx6464es - fix device communication via command bus

commit a29878553a9a7b4c06f93c7e383527cf014d4ceb upstream.

commit 6175ddf06b6172046a329e3abfd9c901a43efd2e 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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/lx6464es/lx_core.c