Re: [PATCH 49/57] power: Cancelling status charging notification.

2012-09-27 Thread Anton Vorontsov
On Tue, Sep 25, 2012 at 10:12:46AM -0600, mathieu.poir...@linaro.org wrote:
> From: "Mathieu J. Poirier" 

No reasoning behind the change?

> Signed-off-by: Mathieu Poirier 
> ---
>  drivers/power/abx500_chargalg.c |2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c
> index ce58f20..4db0ef0 100644
> --- a/drivers/power/abx500_chargalg.c
> +++ b/drivers/power/abx500_chargalg.c
> @@ -641,10 +641,8 @@ static void abx500_chargalg_hold_charging(struct 
> abx500_chargalg *di)
>   abx500_chargalg_usb_en(di, false, 0, 0);
>   abx500_chargalg_stop_safety_timer(di);
>   abx500_chargalg_stop_maintenance_timer(di);
> - di->charge_status = POWER_SUPPLY_STATUS_CHARGING;
>   di->maintenance_chg = false;
>   cancel_delayed_work(&di->chargalg_wd_work);
> - power_supply_changed(&di->chargalg_psy);
>  }
>  
>  /**
> -- 
> 1.7.5.4
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 49/57] power: Cancelling status charging notification.

2012-09-25 Thread mathieu . poirier
From: "Mathieu J. Poirier" 

Signed-off-by: Mathieu Poirier 
---
 drivers/power/abx500_chargalg.c |2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c
index ce58f20..4db0ef0 100644
--- a/drivers/power/abx500_chargalg.c
+++ b/drivers/power/abx500_chargalg.c
@@ -641,10 +641,8 @@ static void abx500_chargalg_hold_charging(struct 
abx500_chargalg *di)
abx500_chargalg_usb_en(di, false, 0, 0);
abx500_chargalg_stop_safety_timer(di);
abx500_chargalg_stop_maintenance_timer(di);
-   di->charge_status = POWER_SUPPLY_STATUS_CHARGING;
di->maintenance_chg = false;
cancel_delayed_work(&di->chargalg_wd_work);
-   power_supply_changed(&di->chargalg_psy);
 }
 
 /**
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/