From: Chanwoo Choi Date: Tue, 26 Aug 2014 04:41:39 +0000 (+0900) Subject: power: charger-manager: Check charging state right after completed initialization X-Git-Tag: fixes-against-v3.18-rc2~70^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1022e247872dc87a6ffd6f9aa6a92e0b67cdf00;p=pandora-kernel.git power: charger-manager: Check charging state right after completed initialization This patch check the charging state after completed initialization of charger- manager and update current charging state. If charger-manager never check and update current charging state, charger-manager would have the mismatch issue between real state of cable connection and the charging state of charger-manager until first polling time of charger-manager. Signed-off-by: Chanwoo Choi Acked-by: Myungjoo Ham Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed