-
- Downloads
power: qpnp-charger: fix race condition in charger detection
During probe, several interrupt handlers are called directly
for the initial charger detection. Since a interrupt could
happen while those handlers are processed, some variables
could be changed erroneously.
By disabling interrupt before calling those handlers directly,
remove race condition.
Change-Id: Ic010afe0daa16c2fa5aa6bbf309dc9ff60c0edd5
Signed-off-by:
choongryeol.lee <choongryeol.lee@lge.com>
Loading
Please register or sign in to comment