summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhou Jingyu <b02241@shlinux1.ap.freescale.net>2009-11-24 16:04:17 +0800
committerZhou Jingyu <b02241@shlinux1.ap.freescale.net>2009-11-27 13:58:30 +0800
commit16013422023b3478efecc9dc23cbbabc1a9bcecc (patch)
treeb1c12d7bb913d4e8643decb8437b8192c845cb00
parent63b641d4af5c2612f5a20932593a131f3e5b9f2f (diff)
ENGR00118525 imx233 fix pswitch irq issue
use shared mode for pswitch and 5v dectection Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
-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");