From: Ingo Molnar Date: Mon, 26 Jun 2006 14:26:13 +0000 (+0100) Subject: [ARM] fix drivers/mfd/ucb1x00-core.c IRQ probing bug X-Git-Tag: v2.6.18-rc1~595^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfc736564fd01ee008d746913b1bbb90e3eb1f99;p=pandora-kernel.git [ARM] fix drivers/mfd/ucb1x00-core.c IRQ probing bug While reviewing the IRQ autoprobing code i found the attached buglet. probe_irq_on()/off() calls must always be in pairs, because the generic IRQ code uses a global semaphore to serialize all autoprobing activites. (which does make sense) The ARM code's probe_irq_*() implementation does not do this, but if this driver is ever used on another platform, this bug might bite. (It probably does not trigger in practice, because a zero probing mask returned should be rare - but still.) Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Russell King --- Reading git-diff-tree failed