]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: emu10k1: Fix forgotten user-copy conversion in init code
authorTakashi Iwai <tiwai@suse.de>
Fri, 18 Aug 2017 08:55:10 +0000 (10:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Aug 2017 08:59:02 +0000 (10:59 +0200)
commit3ab0a569257cea7b16fcc051ea073f0dcb9751e3
treecc2ebf4500efe626c1e1627359848f26f2e49ffc
parent8f1ccf60f4cd8612a1e5c90252a8b3373053bfa2
ALSA: emu10k1: Fix forgotten user-copy conversion in init code

The commit 4d5180ce9aaa ("ALSA: emu10k1: Get rid of set_fs() usage")
converted the user-space copy hack with set_fs() to the direct
memcpy(), but one place was forgotten.  This resulted in the error
from snd_emu10k1_init_efx(), eventually failed to load the driver.
Fix the missing piece.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196687
Fixes: 4d5180ce9aaa ("ALSA: emu10k1: Get rid of set_fs() usage")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emufx.c