ALSA: Fix debugfs_create_dir's error checking method for sound/soc/
authorZhaolei <zhaolei@cn.fujitsu.com>
Fri, 17 Oct 2008 13:04:55 +0000 (21:04 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Oct 2008 15:23:48 +0000 (17:23 +0200)
debugfs_create_dir() returns NULL if an error occurs, returns -ENODEV
when debugfs is not enabled in the kernel.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found