From: santosh Date: Fri, 13 Jan 2012 05:11:00 +0000 (+0530) Subject: [PORT FROM R2]Battery: Difference R2_stable and R3 in case DEAD condition patches X-Git-Tag: 2.1b_release~1569 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23c8dfa3d7766a98797f0cc062e7908cd0fc3871;p=kernel%2Fkernel-mfld-blackbay.git [PORT FROM R2]Battery: Difference R2_stable and R3 in case DEAD condition patches BZ: 18662 This patch is difference between R2_stable and R3 patches submitted for check for battery health state against DEAD before setting it to GOOD. Signed-off-by: santosh Change-Id: I6908b74a954fad097762b3e8171ce0ed72d664e8 Reviewed-on: http://android.intel.com:8080/31836 Reviewed-by: Gugwad, SantoshX Tested-by: Gugwad, SantoshX Reviewed-by: buildbot Tested-by: buildbot --- diff --git a/drivers/power/intel_mdf_battery.c b/drivers/power/intel_mdf_battery.c index 03f7423..322fa1a 100644 --- a/drivers/power/intel_mdf_battery.c +++ b/drivers/power/intel_mdf_battery.c @@ -2683,7 +2683,7 @@ static int msic_battery_probe(struct platform_device *pdev) /* register interrupt */ retval = request_threaded_irq(mbi->irq, msic_battery_interrupt_handler, msic_battery_thread_handler, - 0, DRIVER_NAME, mbi); + IRQF_NO_SUSPEND, DRIVER_NAME, mbi); if (retval) { dev_err(&pdev->dev, "%s(): cannot get IRQ\n", __func__); goto requestirq_failed;