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)
commit0b36f2bd28d040acedb52f4327eb2441afe4f514
treecc2ebf4500efe626c1e1627359848f26f2e49ffc
parented993c6fdfa7734881a4516852d95ae2d3b604d3
ALSA: emu10k1: Fix forgotten user-copy conversion in init code

The commit d42fe63d5839 ("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: d42fe63d5839 ("ALSA: emu10k1: Get rid of set_fs() usage")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emufx.c