ALSA: emu10k1: correctly handling failed thread creation
authorInsu Yun <wuninsu@gmail.com>
Fri, 29 Jan 2016 15:56:11 +0000 (10:56 -0500)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Jan 2016 16:30:25 +0000 (17:30 +0100)
commitf1d51595a2a54d725cd6a21dd54508335a14ab90
tree59bbee1adbc2d2f766b46242a13d0dafd574d5d5
parent1b3c993a699bed282e47c3f7c49d539c331dae04
ALSA: emu10k1: correctly handling failed thread creation

Since kthread_create can be failed, it needs to check
whether error occurred and return error code.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emu10k1_main.c