>>> Yes i was suggested for using IRQF_TRIGGER_NONE too so used this. >>> Please tell >>> me if this makes any difference or issue? >> I think that the suggestion was to use IRQF_TRIGGER_NONE only when >> removing IRQF_DISABLED would leave nothing left. >> >> - IRQF_DISABLED ...
> - if (request_irq(dev->irq, ser12_interrupt, IRQF_DISABLED | IRQF_SHARED, > + if (request_irq(dev->irq, ser12_interrupt, IRQF_TRIGGER_NONE | > IRQF_SHARED, > "baycom_ser12", dev)) { > release_region(dev->base_addr, SER12_EXTENT); > return -EBUSY; > diff --git a/dri...
we have programmed the gpio irq as edge trigger falling edge. we have used the IRQF_SHARED flag in the request_irq, please find the syntax below. Keypad: request_irq(priv->irq, keypad_irq_handler_func, IRQF_SHARED, "DM36x_CM_INPUT0", priv); ...
- if (request_irq(dev->irq, ser12_interrupt, IRQF_DISABLED | IRQF_SHARED, + if (request_irq(dev->irq, ser12_interrupt, IRQF_TRIGGER_NONE | IRQF_SHARED, "baycom_ser12", dev)) { release_region(dev->base_addr, SER12_EXTENT); return -EBUSY; diff --git a/drivers/net/hamradio/scc...
+ if (request_irq(dev->irq, ser12_interrupt, IRQF_TRIGGER_NONE | IRQF_SHARED, "baycom_ser_fdx", dev)) { release_region(dev->base_addr, SER12_EXTENT); return -EBUSY; diff --git a/drivers/net/hamradio/baycom_ser_hdx.c b/drivers/net/hamradio/baycom_ser_hdx.c ...