From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: [PATCH 0/2] power: charger-manager: Fixes for unbinding other psy Date: Mon, 13 Oct 2014 15:34:29 +0200 Message-ID: <1413207271-23836-1-git-send-email-k.kozlowski@samsung.com> Return-path: Received: from mailout1.w1.samsung.com ([210.118.77.11]:22255 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753866AbaJMNel (ORCPT ); Mon, 13 Oct 2014 09:34:41 -0400 Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Krzysztof Kozlowski , Myungjoo Ham , Anton Vorontsov , Jonghwa Lee , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Chanwoo Choi , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz Hi, These are two fixes for accessing old power supply by charger manager after unbinding the driver implementing given power supply. Actually the source of these two bugs and the solution for them is the same in both patches. However I decided to split this because fixing this was quite intrusive and squashed patch would be rather big. Best regards, Krzysztof Krzysztof Kozlowski (2): power: charger-manager: Fix accessing invalidated power supply after fuel gauge unbind power: charger-manager: Fix accessing invalidated power supply after charger unbind drivers/power/charger-manager.c | 161 +++++++++++++++++++++++----------- include/linux/power/charger-manager.h | 3 - 2 files changed, 108 insertions(+), 56 deletions(-) -- 1.9.1