]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit631e8ad428c45ba7ab34df91d1db6cb7bf74d526
tree1de9cbc11a4fada0f81b73f151106d886ad323d1
parentd695e4ea860fc1cbe1e4b101af4e0450219f2db9
ALSA: aaci - Fix NULL test at error path

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>
sound/arm/aaci.c