From: Kevin Liu Date: Wed, 8 Sep 2010 13:44:36 +0000 (-0400) Subject: mfd: Fix max8925 irq control bit incorrect setting X-Git-Tag: v2.6.36-rc7~44^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90182317a9e383474613aa60e9d61d57bdf17c3e;p=pandora-kernel.git mfd: Fix max8925 irq control bit incorrect setting In max8925_irq_sync_unlock(), irq control bit is set at the same time. Zero means enabling irq, and one means disabling irq. The original code is: irq_chg[0] &= irq_data->enable; It should be changed to: irq_chg[0] &= ~irq_data->enable; Otherwise, irq control bit is mess. Signed-off-by: Kevin Liu Signed-off-by: Haojian Zhuang Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed