mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
mmi_muc_uart: uart: Change Power Supply Type
The Phone Power supply which is used to denote that the MOD is attached to a Phone had the incorrect Type. It was set to USB and thus made Framework think that there was a USB cable attached. Fix this by changing to Type MAIN. Change-Id: I145e01a6affd5c74ee46641c4c3c7c1c73618a69 Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com> Reviewed-on: https://gerrit.mot.com/1317772 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Curtis Porter <porterc@motorola.com> Reviewed-by: Ryan Lattrel <ryanl@motorola.com> Reviewed-by: Kenneth Kessler <kennykessler@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
26a555759b
commit
ef4e3a25fe
1 changed files with 1 additions and 1 deletions
|
|
@ -1574,7 +1574,7 @@ static int muc_uart_set_property(struct power_supply *psy,
|
|||
|
||||
static const struct power_supply_desc phone_psy_desc = {
|
||||
.name = "phone",
|
||||
.type = POWER_SUPPLY_TYPE_USB,
|
||||
.type = POWER_SUPPLY_TYPE_MAIN,
|
||||
.get_property = muc_uart_get_property,
|
||||
.set_property = muc_uart_set_property,
|
||||
.properties = muc_uart_ps_props,
|
||||
|
|
|
|||
Loading…
Reference in a new issue