[PATCH 5/7] Enable TX done IRQs

Kalle Valo kvalo at qca.qualcomm.com
Tue May 28 11:23:31 EDT 2013


Pontus Fuchs <pontus.fuchs at gmail.com> writes:

> Generate a TX done IRQ when TX transfer is done.
>
> Signed-off-by: Pontus Fuchs <pontus.fuchs at gmail.com>

[...]

> @@ -278,25 +310,19 @@ static int wcn36xx_dxe_request_irqs(struct wcn36xx *wcn)
>  {
>  	int ret;
>  
> -	// Register TX complete irq
> -	ret =request_irq(wcn->tx_irq, wcn36xx_irq_tx_complete, IRQF_TRIGGER_HIGH,
> -                           "wcn36xx_tx", wcn);
> +	ret = request_irq(wcn->tx_irq, wcn36xx_irq_tx_complete,
> +			  IRQF_TRIGGER_HIGH, "wcn36xx_tx", wcn);

BTW, please try to separate cleanup patches from real changes. Makes it
a lot easier to review.

-- 
Kalle Valo



More information about the wcn36xx mailing list