ALSA: aaci - Fix NULL test at error path
authorTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2008 13:31:50 +0000 (15:31 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Sep 2008 08:33:53 +0000 (10:33 +0200)
The original fix by Julien Brunel <brunel@diku.dk>.

aaci_init_card() returns a pointer with ERR_PTR(), but in aaci_init()
NULL is supposed at this error path.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

No differences found