qcacmn: Correct the return types of functions in HIF component
A few functions in HIF component returns QDF status value with return type as non QDF STATUS and vice versa. For such functions, update the correct return type. Change-Id: Ifc1068d60e62f7405a15e2b4f0738d91243bd6de CRs-Fixed: 2734818
This commit is contained in:

committed by
snandini

parent
a143607a26
commit
cb2acc0ea0
@@ -1268,11 +1268,31 @@ typedef uint32_t (*ext_intr_handler)(void *, uint32_t);
|
||||
int32_t hif_get_int_ctx_irq_num(struct hif_opaque_softc *softc,
|
||||
uint8_t id);
|
||||
|
||||
uint32_t hif_configure_ext_group_interrupts(struct hif_opaque_softc *hif_ctx);
|
||||
uint32_t hif_register_ext_group(struct hif_opaque_softc *hif_ctx,
|
||||
uint32_t numirq, uint32_t irq[], ext_intr_handler handler,
|
||||
void *cb_ctx, const char *context_name,
|
||||
enum hif_exec_type type, uint32_t scale);
|
||||
/**
|
||||
* hif_configure_ext_group_interrupts() - Congigure ext group intrrupts
|
||||
* @hif_ctx: hif opaque context
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS hif_configure_ext_group_interrupts(struct hif_opaque_softc *hif_ctx);
|
||||
|
||||
/**
|
||||
* hif_register_ext_group() - API to register external group
|
||||
* interrupt handler.
|
||||
* @hif_ctx : HIF Context
|
||||
* @numirq: number of irq's in the group
|
||||
* @irq: array of irq values
|
||||
* @handler: callback interrupt handler function
|
||||
* @cb_ctx: context to passed in callback
|
||||
* @type: napi vs tasklet
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS hif_register_ext_group(struct hif_opaque_softc *hif_ctx,
|
||||
uint32_t numirq, uint32_t irq[],
|
||||
ext_intr_handler handler,
|
||||
void *cb_ctx, const char *context_name,
|
||||
enum hif_exec_type type, uint32_t scale);
|
||||
|
||||
void hif_deregister_exec_group(struct hif_opaque_softc *hif_ctx,
|
||||
const char *context_name);
|
||||
|
Reference in New Issue
Block a user