diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2008-10-17 21:04:55 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-17 17:23:48 +0200 |
commit | 7c2dfee84863628f9af109131edd4344ce567d16 (patch) | |
tree | c34e467f3b907f5ab890f691cc79e4ae4e7f9f78 /sound/sparc/amd7930.c | |
parent | cdbdd1676a5379f1d5cbd4d476f5e349f445befe (diff) |
ALSA: Fix debugfs_create_dir's error checking method for sound/soc/
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>
Diffstat (limited to 'sound/sparc/amd7930.c')
0 files changed, 0 insertions, 0 deletions