drivers: leds revert to first stock release

Upon enabling the flashlight via sysfs or camera driver, the driver would not power down correctly,
leaving the led in a powered state but without any output but still drawing power.
Reverting this to a older release fixes the issue.

Change-Id: Ia7e5eec0fc9e51c8e71efc20b038499949c55381
This commit is contained in:
pythonlimited
2020-01-21 20:51:01 +01:00
parent 011bada1b7
commit a9e9cbf503
2 changed files with 164 additions and 551 deletions
+162 -549
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -6707,7 +6707,7 @@ enum hrtimer_restart sec_bat_polling_alarm_expired(struct hrtimer *timer)
}
#endif
#if defined(CONFIG_MACH_MS01_LTE)
//#if defined(CONFIG_MACH_MS01_LTE)
static struct qpnp_chg_chip * chg_chip;
void change_boost_control(int on)
{
@@ -6727,7 +6727,7 @@ void change_boost_control(int on)
}
}
#endif
//#endif
static int __devinit
qpnp_charger_probe(struct spmi_device *spmi)
{