Thread (5 messages) flat view 5 messages, 3 authors, 2011-01-07
DORMANTno replies

Re: [PATCH 1/1] arm: omap: gpio: define .disable callback for gpio irq chip

From: David Brownell <hidden>
Date: 2011-01-07 09:00:44
Also in: linux-arm-kernel

o lazy-disable state
This is an odd state, and confusion regularly
comes up ... I've never been a fan of having the
imperatively named disable_irq() act like a

disable_irq_at a_random_later_time_ _but_nyet().  If
one must have the latter function, clearer IMO
to name it better and have disable_irq()
do exactly that by the time it returns ... that
is after all what folk expect given its name and conventional interpretation of "disable".
 (ergo confusion when that's not what happens)

lazy_disable_irq() would be accurate, butI'm not
sure many folk would choose to use it.

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