commit | ca90a64dc671f4a18958078a4bf2e31e2ef57db9 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Dec 22 13:36:16 2017 +0100 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Wed Jan 03 10:12:59 2018 +0900 |
tree | 650dc3a53c51533793d7451024370b9193294a46 | |
parent | 60ed99961469a3683b52d09bc0771053fb484ae0 [diff] |
extcon: axp288: Handle reserved charger-type values better According to the data sheets all the values not handled in the switch-case are "reserved". Update the dev_warn message to reflect this and set the cable-type to EXTCON_CHG_USB_SDP (so max 500mA current draw) as safe default. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>