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:
Kenny Kessler 2019-03-06 13:28:45 -06:00 • committed by Kenneth Kessler
commit ef4e3a25fe

View file

@ -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,