Re: mv88e6xxx: question: can switch irq be shared?

2018-08-17 Thread David Miller
From: Marek Behún Date: Fri, 17 Aug 2018 11:30:55 +0200 > -IRQF_ONESHOT | IRQF_TRIGGER_FALLING, > +IRQF_ONESHOT | IRQF_TRIGGER_FALLING > +| IRQF_SHARED, The "|" operator shoudl end a line not start

Re: mv88e6xxx: question: can switch irq be shared?

2018-08-17 Thread Andrew Lunn
On Fri, Aug 17, 2018 at 11:30:55AM +0200, Marek Behún wrote: > Hello, I am wondering if the main device irq in > dsa/mv88e6xxx/chip.c can be requested as shared (see patch below). This probably works O.K, but its not something anybody else has done. So there could be some hidden issues.

mv88e6xxx: question: can switch irq be shared?

2018-08-17 Thread Marek Behún
Hello, I am wondering if the main device irq in dsa/mv88e6xxx/chip.c can be requested as shared (see patch below). The reason is that our board is wired so that irqs from all switches come to the same gpio. Marek --- drivers/net/dsa/mv88e6xxx/chip.c | 3 ++- 1 file changed, 2 insertions(+), 1