aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2017-12-22 13:36:15 +0100
committerChanwoo Choi <[email protected]>2018-01-03 10:12:57 +0900
commit60ed99961469a3683b52d09bc0771053fb484ae0 (patch)
treec123edb959f9310f9c017e018b0974a6a8864bca /scripts/gcc-plugins/structleak_plugin.c
parentd61b814ab958cdd119eac76e9aa3455b908c51cd (diff)
extcon: axp288: Redo charger type detection a couple of seconds after probe()
The axp288 extcon code depends on other drivers to do things like mux the data lines, enable/disable vbus based on the id-pin, etc. Sometimes the BIOS has not set these things up correctly resulting in the initial charger cable type detection giving a wrong result and we end up not charging or charging at only 0.5A. This commit starts a second charger-detection cycle a couple of seconds after the first one finishes, giving the other drivers time to load and do their thing. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions