summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorZhou Jingyu <b02241@shlinux1.ap.freescale.net>2009-11-24 16:04:17 +0800
committerJustin Waters <justin.waters@timesys.com>2010-03-25 14:01:17 -0400
commitec62313ee20f66d18ec69691b4727cf31528bffa (patch)
treeb1c12d7bb913d4e8643decb8437b8192c845cb00 /drivers
parent4490bfdaca386016203a3ed59668ba0ad15bc7fe (diff)
ENGR00118525 imx233 fix pswitch irq issue
use shared mode for pswitch and 5v dectection Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/power/stmp37xx/linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/stmp37xx/linux.c b/drivers/power/stmp37xx/linux.c
index 178255eceea6..00403c5abaab 100644
--- a/drivers/power/stmp37xx/linux.c
+++ b/drivers/power/stmp37xx/linux.c
@@ -464,7 +464,7 @@ static int stmp3xxx_bat_probe(struct platform_device *pdev)
goto free_info;
ret = request_irq(info->vdd5v_irq->start,
- stmp3xxx_vdd5v_irq, IRQF_DISABLED,
+ stmp3xxx_vdd5v_irq, IRQF_DISABLED | IRQF_SHARED,
pdev->name, info);
if (ret) {
dev_err(info->dev, "failed to request irq\n");