ALSA: sb: check get_user() return value
authorKulikov Vasiliy <segooon@gmail.com>
Wed, 28 Jul 2010 16:40:51 +0000 (20:40 +0400)
committerTakashi Iwai <tiwai@suse.de>
Thu, 29 Jul 2010 10:24:22 +0000 (12:24 +0200)
commit5157cc8113db3de60ab6320965331c63bc77003c
tree38d4b65fc677ae528ee0cfbc6a1a238e698ceb32
parent63818c448ac6f4dd75aa42997acaa746f86acb6b
ALSA: sb: check get_user() return value

get_user() may fail, if so return -EFAULT.

[Fixed one missing place by tiwai]

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sb/emu8000_pcm.c