mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
PD: config cc status for sc2150 after shutdown
pd/sc2150 config CC status to RD after shudown for sc2150 Change-Id: Iba282f3f7b982a63715553df5eded9168a76f459 Signed-off-by: chailu1 <chailu1@lenovo.com> Reviewed-on: https://gerrit.mot.com/2150656 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Reviewed-by: Haijian Ma <mahj8@motorola.com> Reviewed-by: Yuecai Liu <liuyc20@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
c042d862af
commit
06ca2a6c80
1 changed files with 3 additions and 0 deletions
|
|
@ -1144,6 +1144,9 @@ static int rt1711_tcpc_deinit(struct tcpc_device *tcpc)
|
|||
rt1711_i2c_write8(tcpc,
|
||||
RT1711H_REG_INTRST_CTRL,
|
||||
RT1711H_REG_INTRST_SET(true, 0));
|
||||
|
||||
if (chip->chip_id == SC2150A_DID)
|
||||
rt1711_i2c_write8(tcpc, RT1711H_REG_SWRESET, 1);
|
||||
#else
|
||||
rt1711_i2c_write8(tcpc, RT1711H_REG_SWRESET, 1);
|
||||
#endif /* CONFIG_TCPC_SHUTDOWN_CC_DETACH */
|
||||
|
|
|
|||
Loading…
Reference in a new issue