summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2022-01-09 16:33:50 +0800
committerFelix Fietkau <nbd@nbd.name>2022-02-03 13:57:59 +0100
commit4090d43af4a06690f293178edc4dfd277fb40920 (patch)
tree7b3f2bcb3914a299c0b92c29677e385654c329c0 /drivers/net/ethernet
parent827e7799c61b978fbc2cc9dac66cb62401b2b3f0 (diff)
mt76: sdio: disable interrupt in mt76s_sdio_irq
It is unnecessary to keep the interrupt enabled in mt76s_sdio_irq because the driver is already aware of the interrupt, schedules the mt76s_txrx_worker to handle the corresponding actions, and eventually, the interrupt would be enabled again when mt76s_txrx_worker finishes its work. So we can safely disable the interrupt in mt76s_sdio_irq as soon as possible to increase the CPU productivity by dropping the redundant interrupt triggers. Note that sdio lock acquired/released would be handled in sdio_irq_work at mmc driver so we don't take care in mt76s_sdio_irq at function driver. Co-developed-by: Leon Yen <leon.yen@mediatek.com> Signed-off-by: Leon Yen <leon.yen@mediatek.com> Co-developed-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions