msm: ipa3: supporting hibernate & cleanup unused deepsleep API's
Adding changes to listen for new PM driver events to support hibernate feature. Also, in 5.15 kernel, deepsleep & hibernate entry/exit SSR API's are becoming same as regular SSR usecases. So, cleaning up the unused deepsleep API's accordingly. Change-Id: Ie8d901f824b586bbb7a5e61a1cdc877cd14eb1d0 Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com> Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _IPA_H_
|
||||
@@ -1810,12 +1810,6 @@ bool ipa_is_ready(void);
|
||||
void ipa_proxy_clk_vote(void);
|
||||
void ipa_proxy_clk_unvote(void);
|
||||
|
||||
#ifdef CONFIG_DEEPSLEEP
|
||||
int ipa_fmwk_deepsleep_entry_ipa(void);
|
||||
|
||||
int ipa_fmwk_deepsleep_exit_ipa(void);
|
||||
#endif
|
||||
|
||||
enum ipa_hw_type ipa_get_hw_type(void);
|
||||
|
||||
const struct ipa_gsi_ep_config *ipa_get_gsi_ep_info(
|
||||
@@ -2209,16 +2203,6 @@ static inline bool ipa_is_ready(void)
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline int ipa_fmwk_deepsleep_entry_ipa(void)
|
||||
{
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
static inline int ipa_fmwk_deepsleep_exit_ipa(void)
|
||||
{
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
static inline enum ipa_hw_type ipa_get_hw_type(void)
|
||||
{
|
||||
return IPA_HW_None;
|
||||
|
@@ -915,7 +915,7 @@ static inline int ipa_wdi_opt_dpath_notify_flt_rlsd_per_inst(ipa_wdi_hdl_t hdl,
|
||||
|
||||
static int ipa_wdi_opt_dpath_rsrv_filter_req(
|
||||
struct ipa_wlan_opt_dp_rsrv_filter_req_msg_v01 *req,
|
||||
struct ipa_wlan_opt_dp_rsrv_filter_resp_msg_v01 *resp);
|
||||
struct ipa_wlan_opt_dp_rsrv_filter_resp_msg_v01 *resp)
|
||||
{
|
||||
return -EPERM;
|
||||
}
|
||||
|
Reference in New Issue
Block a user