diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-30 08:53:20 +0800 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-07-31 00:20:21 +0200 |
commit | c2acb7c4d566a1735e255acc7260e1dec6b9a7c8 (patch) | |
tree | e71cd8ac77f44295e2ae5c49d814e26b0072111d /sound/arm/pxa2xx-ac97-lib.c | |
parent | 0a0ea07d3dff0918484f01c576f098dd4911b1af (diff) |
HSI: omap_ssi_port: Fix return value check in ssi_debug_add_port()
In case of error, the function debugfs_create_*() returns NULL
pointer not ERR_PTR() if debugfs is enabled. The IS_ERR() test
in the return value check should be replaced with NULL test.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'sound/arm/pxa2xx-ac97-lib.c')
0 files changed, 0 insertions, 0 deletions