Loading drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c +9 −0 Original line number Diff line number Diff line Loading @@ -2963,6 +2963,15 @@ struct dentry *ipa_debugfs_get_root(void) EXPORT_SYMBOL(ipa_debugfs_get_root); #else /* !CONFIG_DEBUG_FS */ #define INVALID_NO_OF_CHAR (-1) void ipa3_debugfs_init(void) {} void ipa3_debugfs_remove(void) {} int _ipa_read_ep_reg_v3_0(char *buf, int max_len, int pipe) { return INVALID_NO_OF_CHAR; } int _ipa_read_ep_reg_v4_0(char *buf, int max_len, int pipe) { return INVALID_NO_OF_CHAR; } #endif drivers/platform/msm/ipa/test/ipa_ut_framework.c +3 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #include <linux/mutex.h> Loading Loading @@ -922,7 +922,9 @@ static int ipa_ut_framework_init(void) ipa_assert_on(!ipa_ut_ctx); #ifdef CONFIG_DEBUG_FS ipa_ut_ctx->ipa_dbgfs_root = ipa_debugfs_get_root(); #endif if (!ipa_ut_ctx->ipa_dbgfs_root) { IPA_UT_ERR("No IPA debugfs root entry\n"); return -EFAULT; Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c +9 −0 Original line number Diff line number Diff line Loading @@ -2963,6 +2963,15 @@ struct dentry *ipa_debugfs_get_root(void) EXPORT_SYMBOL(ipa_debugfs_get_root); #else /* !CONFIG_DEBUG_FS */ #define INVALID_NO_OF_CHAR (-1) void ipa3_debugfs_init(void) {} void ipa3_debugfs_remove(void) {} int _ipa_read_ep_reg_v3_0(char *buf, int max_len, int pipe) { return INVALID_NO_OF_CHAR; } int _ipa_read_ep_reg_v4_0(char *buf, int max_len, int pipe) { return INVALID_NO_OF_CHAR; } #endif
drivers/platform/msm/ipa/test/ipa_ut_framework.c +3 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #include <linux/mutex.h> Loading Loading @@ -922,7 +922,9 @@ static int ipa_ut_framework_init(void) ipa_assert_on(!ipa_ut_ctx); #ifdef CONFIG_DEBUG_FS ipa_ut_ctx->ipa_dbgfs_root = ipa_debugfs_get_root(); #endif if (!ipa_ut_ctx->ipa_dbgfs_root) { IPA_UT_ERR("No IPA debugfs root entry\n"); return -EFAULT; Loading