]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - drivers/soc/fsl/qbman/bman.c
soc/fsl/qbman: Drop set/clear_bits usage
[mirror_ubuntu-eoan-kernel.git] / drivers / soc / fsl / qbman / bman.c
index a3d6d7cfa9296aee3af6504be125dd4deb02f5fa..3acded1ccc37254aa8baf86498fdba8cec6f7b15 100644 (file)
@@ -607,7 +607,7 @@ int bman_p_irqsource_add(struct bman_portal *p, u32 bits)
        unsigned long irqflags;
 
        local_irq_save(irqflags);
-       set_bits(bits & BM_PIRQ_VISIBLE, &p->irq_sources);
+       p->irq_sources |= bits & BM_PIRQ_VISIBLE;
        bm_out(&p->p, BM_REG_IER, p->irq_sources);
        local_irq_restore(irqflags);
        return 0;