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

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