Skip to content

Commit

Permalink
Merge "target: msm8994: Use PON1 reason for power off charging"
Browse files Browse the repository at this point in the history
  • Loading branch information
Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 25, 2014
2 parents d40d7e7 + 439833a commit 388ebd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/msm8994/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ unsigned target_pause_for_battery_charge(void)
if (is_cold_boot &&
(!(pon_reason & HARD_RST)) &&
(!(pon_reason & KPDPWR_N)) &&
((pon_reason & USB_CHG) || (pon_reason & DC_CHG)))
((pon_reason & PON1)))
return 1;
else
return 0;
Expand Down

0 comments on commit 388ebd4

Please sign in to comment.