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 -- 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/