Thread (1 message) 1 message, 1 author, 2016-02-07

Re: [PATCH v2] net: ethernet: davicom: fix devicetree irq resource

From: Robert Jarzmik <robert.jarzmik@free.fr>
Date: 2016-02-07 11:47:24
Also in: lkml

Sergei Shtylyov [off-list ref] writes:
quoted
Moreover, since commit Fixes: 7085a7401ba5 ("drivers: platform: parse
   Fixes: tag here?
Heuh no. It doesn't fix this commit, it uses a feature brought by this commit.
quoted
+	if (irq_get_trigger_type(dev->irq) == IRQF_TRIGGER_NONE)
  		dev_warn(db->dev, "WARNING: no IRQ resource flags set.\n");

  	irqflags |= IRQF_SHARED;
   Why not just initialize to IRQF_SHARED?
   But actually you don't need this variable anymore.
Yeah, makes sense.

Cheers.

-- 
Robert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help