Revert "net: ieee802154: mcr20a: Use IRQF_NO_AUTOEN flag in request_irq()"

This reverts commit dfd74b3f20.
This commit is contained in:
Ksawlii 2024-11-24 00:23:12 +01:00
parent 179c4ebbc2
commit 3ffa22465c

View file

@ -1311,13 +1311,16 @@ mcr20a_probe(struct spi_device *spi)
irq_type = IRQF_TRIGGER_FALLING;
ret = devm_request_irq(&spi->dev, spi->irq, mcr20a_irq_isr,
irq_type | IRQF_NO_AUTOEN, dev_name(&spi->dev), lp);
irq_type, dev_name(&spi->dev), lp);
if (ret) {
dev_err(&spi->dev, "could not request_irq for mcr20a\n");
ret = -ENODEV;
goto free_dev;
}
/* disable_irq by default and wait for starting hardware */
disable_irq(spi->irq);
ret = ieee802154_register_hw(hw);
if (ret) {
dev_crit(&spi->dev, "ieee802154_register_hw failed\n");