dataipa: solve compile issues in IPA driver
Solve compile issues for the new branch. Change-Id: Ic2f7cf29ee810b67c664b7c92cc62a8000412152 Signed-off-by: Michael Adisumarta <quic_madisuma@quicin.com>
This commit is contained in:
@@ -2388,7 +2388,7 @@ void suspend_handler(enum ipa_irq_type interrupt,
|
||||
gsi_chan_hdl =
|
||||
((struct ipa_tx_suspend_private_data *)private_data)->gsi_chan_hdl;
|
||||
|
||||
IPATEST_DBG("in suspend handler: interrupt=%d, private_data=%d, interrupt_data=",
|
||||
IPATEST_DBG("in suspend handler: interrupt=%d, clnt_hdl=%d, private_data=%d, interrupt_data=%d",
|
||||
interrupt, clnt_hdl, suspend_data[0], suspend_data[1]);
|
||||
for (i = 0; i < IPA_EP_ARR_SIZE; i++)
|
||||
IPATEST_DBG("%d", suspend_data[i]);
|
||||
|
@@ -9476,7 +9476,7 @@ static int ipa3_pre_init(const struct ipa3_plat_drv_res *resource_p,
|
||||
}
|
||||
|
||||
IPADBG(
|
||||
"base(0x%x)+offset(0x%x)=(0x%x) mapped to (%0x%x) with len (0x%x)\n",
|
||||
"base(0x%x)+offset(0x%x)=(0x%x) mapped to (0x%x) with len (0x%x)\n",
|
||||
resource_p->ipa_mem_base,
|
||||
ipa3_ctx->ctrl->ipa_reg_base_ofst,
|
||||
resource_p->ipa_mem_base + ipa3_ctx->ctrl->ipa_reg_base_ofst,
|
||||
|
@@ -125,7 +125,7 @@ static int ipa_stats_ioctl_open(struct inode *inode, struct file *filp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static bool ipa_stats_struct_mismatch()
|
||||
static bool ipa_stats_struct_mismatch(void)
|
||||
{
|
||||
if (IPA_LNX_EACH_INST_ALLOC_INFO_STRUCT_LEN_INT != IPA_LNX_EACH_INST_ALLOC_INFO_STRUCT_LEN ||
|
||||
IPA_LNX_STATS_ALL_INFO_STRUCT_LEN_INT != IPA_LNX_STATS_ALL_INFO_STRUCT_LEN ||
|
||||
@@ -1927,7 +1927,7 @@ dev_alloc_err:
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
int ipa_spearhead_stats_init()
|
||||
int ipa_spearhead_stats_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@@ -6557,7 +6557,7 @@ static void _set_coalescing_disposition(
|
||||
}
|
||||
}
|
||||
|
||||
void start_coalescing()
|
||||
void start_coalescing(void)
|
||||
{
|
||||
if ( ipa3_ctx->coal_stopped ) {
|
||||
_set_coalescing_disposition(false);
|
||||
@@ -6565,7 +6565,7 @@ void start_coalescing()
|
||||
}
|
||||
}
|
||||
|
||||
void stop_coalescing()
|
||||
void stop_coalescing(void)
|
||||
{
|
||||
if ( ! ipa3_ctx->coal_stopped ) {
|
||||
_set_coalescing_disposition(true);
|
||||
@@ -6573,7 +6573,7 @@ void stop_coalescing()
|
||||
}
|
||||
}
|
||||
|
||||
bool lan_coal_enabled()
|
||||
bool lan_coal_enabled(void)
|
||||
{
|
||||
if ( ipa3_ctx->ipa_initialization_complete ) {
|
||||
int ep_idx;
|
||||
|
@@ -146,7 +146,7 @@ int ipa_register_rmnet_ctl_cb(
|
||||
mutex_lock(&rmnet_ctl_ipa3_ctx->lock);
|
||||
if (rmnet_ctl_ipa3_ctx->state != IPA_RMNET_CTL_NOT_REG &&
|
||||
rmnet_ctl_ipa3_ctx->state != IPA_RMNET_CTL_PIPE_READY) {
|
||||
IPADBG("rmnet_ctl registered already\n", __func__);
|
||||
IPADBG("rmnet_ctl registered already\n");
|
||||
mutex_unlock(&rmnet_ctl_ipa3_ctx->lock);
|
||||
return -EEXIST;
|
||||
}
|
||||
@@ -190,7 +190,7 @@ int ipa_unregister_rmnet_ctl_cb(void)
|
||||
mutex_lock(&rmnet_ctl_ipa3_ctx->lock);
|
||||
if (rmnet_ctl_ipa3_ctx->state != IPA_RMNET_CTL_REGD &&
|
||||
rmnet_ctl_ipa3_ctx->state != IPA_RMNET_CTL_START) {
|
||||
IPADBG("rmnet_ctl unregistered already\n", __func__);
|
||||
IPADBG("rmnet_ctl unregistered already\n");
|
||||
mutex_unlock(&rmnet_ctl_ipa3_ctx->lock);
|
||||
return 0;
|
||||
}
|
||||
|
@@ -303,7 +303,7 @@ int ipa_register_rmnet_ll_cb(
|
||||
mutex_lock(&rmnet_ll_ipa3_ctx->lock);
|
||||
if (rmnet_ll_ipa3_ctx->state != IPA_RMNET_LL_NOT_REG &&
|
||||
rmnet_ll_ipa3_ctx->state != IPA_RMNET_LL_PIPE_READY) {
|
||||
IPADBG("rmnet_ll registered already\n", __func__);
|
||||
IPADBG("rmnet_ll registered already\n");
|
||||
mutex_unlock(&rmnet_ll_ipa3_ctx->lock);
|
||||
return -EEXIST;
|
||||
}
|
||||
@@ -347,7 +347,7 @@ int ipa_unregister_rmnet_ll_cb(void)
|
||||
mutex_lock(&rmnet_ll_ipa3_ctx->lock);
|
||||
if (rmnet_ll_ipa3_ctx->state != IPA_RMNET_LL_REGD &&
|
||||
rmnet_ll_ipa3_ctx->state != IPA_RMNET_LL_START) {
|
||||
IPADBG("rmnet_ll unregistered already\n", __func__);
|
||||
IPADBG("rmnet_ll unregistered already\n");
|
||||
mutex_unlock(&rmnet_ll_ipa3_ctx->lock);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user