qcacmn: Adds dummy API's
Adds dummy API's for hif_config_irq_by_ceid. Change-Id: I7bbb0ece4ab5f8bf648bc0e945c5a28de2a49feb
Este cometimento está contido em:

cometido por
snandini

ascendente
9471529a96
cometimento
0d5e9734be
@@ -376,3 +376,14 @@ int hif_dummy_addr_in_boundary(struct hif_softc *scn, uint32_t offset)
|
||||
void hif_dummy_config_irq_affinity(struct hif_softc *scn)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* hif_dummy_config_irq_by_ceid - dummy call
|
||||
* @scn: hif context
|
||||
* @ce_id : copy engine id
|
||||
* Return: 0
|
||||
*/
|
||||
int hif_dummy_config_irq_by_ceid(struct hif_softc *scn, int ce_id)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@@ -60,3 +60,4 @@ int hif_dummy_bus_reset_resume(struct hif_softc *hif_ctx);
|
||||
int hif_dummy_map_ce_to_irq(struct hif_softc *scn, int ce_id);
|
||||
int hif_dummy_addr_in_boundary(struct hif_softc *scn, uint32_t offset);
|
||||
void hif_dummy_config_irq_affinity(struct hif_softc *scn);
|
||||
int hif_dummy_config_irq_by_ceid(struct hif_softc *scn, int ce_id);
|
||||
|
@@ -60,6 +60,7 @@ static void hif_initialize_default_ops(struct hif_softc *hif_sc)
|
||||
bus_ops->hif_grp_irq_configure = &hif_dummy_grp_irq_configure;
|
||||
bus_ops->hif_config_irq_affinity =
|
||||
&hif_dummy_config_irq_affinity;
|
||||
bus_ops->hif_config_irq_by_ceid = &hif_dummy_config_irq_by_ceid;
|
||||
}
|
||||
|
||||
#define NUM_OPS (sizeof(struct hif_bus_ops) / sizeof(void *))
|
||||
|
@@ -77,6 +77,7 @@ QDF_STATUS hif_initialize_ipci_ops(struct hif_softc *hif_sc)
|
||||
bus_ops->hif_needs_bmi = &hif_ipci_needs_bmi;
|
||||
bus_ops->hif_config_irq_affinity =
|
||||
&hif_dummy_config_irq_affinity;
|
||||
bus_ops->hif_config_irq_by_ceid = &hif_dummy_config_irq_by_ceid;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador