linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH v2
@ 2017-02-22 15:34 robert.middleton
  2017-02-22 15:34 ` [PATCH v2] gpio:mcp23s08 Fixed missing interrupts robert.middleton
  2017-03-09 16:37 ` PATCH v2 Robert Middleton
  0 siblings, 2 replies; 9+ messages in thread
From: robert.middleton @ 2017-02-22 15:34 UTC (permalink / raw)
  To: linux-gpio; +Cc: linus.walleij, gnurou


This v2 patch changes the MCP23S08 interrupt logic to ensure that if multiple
inputs are changed at the same time, the kernel will be notified of all
the pins that changed.

I added several variables to the irq handler, however this means that there
are now quite a few local variables(possibly too many, as the kernel coding 
standard says that more than 5-10 is probably too many: 
https://www.kernel.org/doc/Documentation/process/coding-style.rst).  I'm 
not sure what the best way to fix this is, or if it has to be fixed.

-Robert Middleton

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-03-15 21:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22 15:34 PATCH v2 robert.middleton
2017-02-22 15:34 ` [PATCH v2] gpio:mcp23s08 Fixed missing interrupts robert.middleton
2017-03-14 13:19   ` Linus Walleij
2017-03-14 17:41     ` Robert Middleton
2017-03-14 21:16       ` Linus Walleij
2017-03-15  1:56         ` Robert Middleton
2017-03-15 21:01           ` Robert Middleton
2017-03-09 16:37 ` PATCH v2 Robert Middleton
2017-03-10  0:04   ` Phil Reid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).