diff options
author | Lionel.Xu <r63889@freescale.com> | 2009-10-09 13:25:51 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2010-03-25 14:00:00 -0400 |
commit | 8f68a80e9dceb633d92f75e4ce455ed775e92121 (patch) | |
tree | b3712d61aa90483c5e6ab2d394a087e561c400f2 | |
parent | 35ec1c06ffeacbed7200900906be2e3089768aec (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.c | 3 |
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)); |