diff options
author | Kevin Liu <kliu5@marvell.com> | 2010-09-08 13:44:36 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-09-29 08:14:53 (GMT) |
commit | 90182317a9e383474613aa60e9d61d57bdf17c3e (patch) | |
tree | 82c15105db4f388ad06656789e565f7a8f5315da /include/scsi | |
parent | c9d66d3515bbb0ad8062721487de7ade02d2b936 (diff) | |
download | linux-90182317a9e383474613aa60e9d61d57bdf17c3e.tar.xz |
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 <kliu5@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions