Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d9e31b9 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Vinod Koul
Browse files

dmaengine: moxart: remove NO_IRQ



The use of NO_IRQ is incorrect here and should never have been there,
as irq_of_parse_and_map() returns '0' on failure, not NO_IRQ.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 29b4817d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -579,7 +579,7 @@ static int moxart_probe(struct platform_device *pdev)
		return -ENOMEM;

	irq = irq_of_parse_and_map(node, 0);
	if (irq == NO_IRQ) {
	if (!irq) {
		dev_err(dev, "no IRQ resource\n");
		return -EINVAL;
	}