mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Remove recovery notifier from ol layer
Remove ol recovery notifier to log ce info as the notifier is added in hif layer. Change-Id: Ia3b56f677d7207f7b650ee1060032c285fa946fe CRs-Fixed: 2649143
This commit is contained in:
parent
bdae2f30d6
commit
d251c49727
1 changed files with 0 additions and 50 deletions
|
|
@ -5989,52 +5989,6 @@ void ol_deregister_packetdump_callback(struct cdp_soc_t *soc_hdl,
|
|||
pdev->ol_rx_packetdump_cb = NULL;
|
||||
}
|
||||
|
||||
#ifdef DP_SUPPORT_RECOVERY_NOTIFY
|
||||
static
|
||||
int ol_recovery_notifier_cb(struct notifier_block *block,
|
||||
unsigned long state, void *data)
|
||||
{
|
||||
struct qdf_notifer_data *notif_data = data;
|
||||
qdf_notif_block *notif_block;
|
||||
struct ol_txrx_soc_t *soc;
|
||||
struct hif_opaque_softc *hif_handle;
|
||||
|
||||
if (!data || !block)
|
||||
return -EINVAL;
|
||||
|
||||
notif_block = qdf_container_of(block, qdf_notif_block, notif_block);
|
||||
|
||||
soc = notif_block->priv_data;
|
||||
if (!soc)
|
||||
return -EINVAL;
|
||||
|
||||
hif_handle = cds_get_context(QDF_MODULE_ID_HIF);
|
||||
hif_log_ce_info(hif_handle, notif_data->hang_data,
|
||||
¬if_data->offset);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static qdf_notif_block ol_recovery_notifier = {
|
||||
.notif_block.notifier_call = ol_recovery_notifier_cb,
|
||||
};
|
||||
|
||||
static
|
||||
QDF_STATUS ol_register_recovery_notifier(struct cdp_soc_t *soc_hdl)
|
||||
{
|
||||
struct ol_txrx_soc_t *soc = cdp_soc_t_to_ol_txrx_soc_t(soc_hdl);
|
||||
|
||||
ol_recovery_notifier.priv_data = soc;
|
||||
return qdf_hang_event_register_notifier(&ol_recovery_notifier);
|
||||
}
|
||||
|
||||
static
|
||||
QDF_STATUS ol_unregister_recovery_notifier(void)
|
||||
{
|
||||
return qdf_hang_event_unregister_notifier(&ol_recovery_notifier);
|
||||
}
|
||||
#endif
|
||||
|
||||
static struct cdp_cmn_ops ol_ops_cmn = {
|
||||
.txrx_soc_attach_target = ol_txrx_soc_attach_target,
|
||||
.txrx_vdev_attach = ol_txrx_vdev_attach,
|
||||
|
|
@ -6103,10 +6057,6 @@ static struct cdp_misc_ops ol_ops_misc = {
|
|||
.vdev_set_bundle_require_flag = ol_tx_vdev_set_bundle_require,
|
||||
.pdev_reset_bundle_require_flag = ol_tx_pdev_reset_bundle_require,
|
||||
#endif
|
||||
#ifdef DP_SUPPORT_RECOVERY_NOTIFY
|
||||
.register_recovery_notifier = ol_register_recovery_notifier,
|
||||
.unregister_recovery_notifier = ol_unregister_recovery_notifier,
|
||||
#endif
|
||||
};
|
||||
|
||||
static struct cdp_flowctl_ops ol_ops_flowctl = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue