max77759_charger: remove MAX77759_CHG_INT_MASK_CHG_M
MW keeps switching between CC and CV when input current limited
in CV stage. This generates a lot of unwanted power supply event
notifications. Mask CC/CV interrups and restrict the type of
interrupt that generates power supply events to BATTERY, CHGIN,
WLCIN.
Bug: 191405477
Test: wired, wireless charge start and stop. EOC behavior, dc start stop.
Change-Id: Id699adf6045dc742a9752efae8b6f61598e84bc2
diff --git a/max77759.h b/max77759.h
index 20db94b..1aa236d 100644
--- a/max77759.h
+++ b/max77759.h
@@ -102,6 +102,7 @@
int chgr_on; /* CC_MAX != 0 */
bool stby_on; /* on disconnect, mode=0 */
+ bool charge_done;
int chgin_off; /* input_suspend, mode=0 */
int wlcin_off; /* input_suspend, mode=0 */