From: Thomas Gleixner Date: Tue, 8 Feb 2011 16:28:12 +0000 (+0100) Subject: genirq: Mirror irq trigger type bits in irq_data.state X-Git-Tag: v2.6.39-rc1~503^2~9^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=876dbd4cc1b35c1a4cb96a2be1d43ea0eabce3b4;p=pandora-kernel.git genirq: Mirror irq trigger type bits in irq_data.state That's the data structure chip functions get provided. Also allow them to signal the core code that they updated the flags in irq_data.state by returning IRQ_SET_MASK_OK_NOCOPY. The default is unchanged. The type bits should be accessed via: val = irqd_get_trigger_type(irqdata); and irqd_set_trigger_type(irqdata, val); Coders who access them directly will be tracked down and slapped with stinking trouts. Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed