summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel.Xu <r63889@freescale.com>2009-10-09 13:25:51 +0800
committerLionel.Xu <r63889@freescale.com>2009-10-10 18:35:43 +0800
commit76a55357b863bb4364cdab0c38aa7e4ce789aef4 (patch)
tree889961c652d56205a2d3c42b5c037d9c94e406f0
parent076c523a07a80b50ac478858503171c2e1c697d5 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c
index 860fb2928cc4..3a23bcb3c77e 100644
--- a/drivers/mfd/wm8350-core.c
+++ b/drivers/mfd/wm8350-core.c
@@ -1230,8 +1230,8 @@ int wm8350_device_init(struct wm8350 *wm8350, int irq,
goto err;
}
wm8350->chip_irq = 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));