[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1336098979-32287-1-git-send-email-chao.xie@marvell.com>
Date: Fri, 4 May 2012 10:36:19 +0800
From: Chao Xie <chao.xie@...vell.com>
To: sameo@...ux.intel.com, linux-kernel@...r.kernel.org,
haojian.zhuang@...vell.com
Cc: Chao Xie <chao.xie@...vell.com>
Subject: [PATCH V2] mfd: fix gpadc initialization
gpadc initialization failure is acceptable. It should not make
88pm860x initialization abort.
Signed-off-by: Chao Xie <chao.xie@...vell.com>
---
drivers/mfd/88pm860x-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/88pm860x-core.c b/drivers/mfd/88pm860x-core.c
index 87bd5ba..bfd8323 100644
--- a/drivers/mfd/88pm860x-core.c
+++ b/drivers/mfd/88pm860x-core.c
@@ -846,7 +846,7 @@ static void __devinit device_8607_init(struct pm860x_chip *chip,
ret = device_gpadc_init(chip, pdata);
if (ret < 0)
- goto out;
+ dev_info(chip->dev, "Failed to init gpadc\n");
ret = device_irq_init(chip, pdata);
if (ret < 0)
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists