summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel.Xu <r63889@freescale.com>2009-10-09 13:25:51 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-02-12 17:19:20 +0100
commit130f57083126c182f61cea73282fb486a433e010 (patch)
treeb3712d61aa90483c5e6ab2d394a087e561c400f2
parentae9c6d8667ef45b469d26606eccc62a73c860114 (diff)
ENGR00113483 MX37: Resolve occasional kernel panic during system reboot
Mask WM8350 GPIO and RTC interrupt, to avoid heavy data traffic on I2C bus, which may incur kernel panic when system reboot. Signed-off-by: Lionel Xu <r63889@freescale.com>
-rw-r--r--drivers/mfd/wm8350-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c
index fe24079387c5..66a1280b87ec 100644
--- a/drivers/mfd/wm8350-core.c
+++ b/drivers/mfd/wm8350-core.c
@@ -1466,7 +1466,8 @@ int wm8350_device_init(struct wm8350 *wm8350, int irq,
}
}
- wm8350_reg_write(wm8350, WM8350_SYSTEM_INTERRUPTS_MASK, 0x0);
+ /*mask gpio and rtc interrupt*/
+ wm8350_reg_write(wm8350, WM8350_SYSTEM_INTERRUPTS_MASK, 0x50);
wm8350_client_dev_register(wm8350, "wm8350-codec",
&(wm8350->codec.pdev));