Skip to content

Commit 8d4ba9a

Browse files
authored
Merge pull request #281 from imrashai/usb-ret-on-workaround
WORKAROUND: Use PWRSTS_RET_ON for USB GDSCs on Lemans and Monaco
2 parents 3fb7eba + 4711d37 commit 8d4ba9a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/clk/qcom/gcc-qcs8300.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3306,7 +3306,7 @@ static struct gdsc gcc_usb20_prim_gdsc = {
33063306
.pd = {
33073307
.name = "gcc_usb20_prim_gdsc",
33083308
},
3309-
.pwrsts = PWRSTS_OFF_ON,
3309+
.pwrsts = PWRSTS_RET_ON,
33103310
.flags = RETAIN_FF_ENABLE | POLL_CFG_GDSCR,
33113311
};
33123312

@@ -3318,7 +3318,7 @@ static struct gdsc gcc_usb30_prim_gdsc = {
33183318
.pd = {
33193319
.name = "gcc_usb30_prim_gdsc",
33203320
},
3321-
.pwrsts = PWRSTS_OFF_ON,
3321+
.pwrsts = PWRSTS_RET_ON,
33223322
.flags = RETAIN_FF_ENABLE | POLL_CFG_GDSCR,
33233323
};
33243324

drivers/clk/qcom/gcc-sa8775p.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4261,7 +4261,7 @@ static struct gdsc usb20_prim_gdsc = {
42614261
.pd = {
42624262
.name = "usb20_prim_gdsc",
42634263
},
4264-
.pwrsts = PWRSTS_OFF_ON,
4264+
.pwrsts = PWRSTS_RET_ON,
42654265
.flags = RETAIN_FF_ENABLE | POLL_CFG_GDSCR,
42664266
};
42674267

@@ -4273,7 +4273,7 @@ static struct gdsc usb30_prim_gdsc = {
42734273
.pd = {
42744274
.name = "usb30_prim_gdsc",
42754275
},
4276-
.pwrsts = PWRSTS_OFF_ON,
4276+
.pwrsts = PWRSTS_RET_ON,
42774277
.flags = RETAIN_FF_ENABLE | POLL_CFG_GDSCR,
42784278
};
42794279

@@ -4285,7 +4285,7 @@ static struct gdsc usb30_sec_gdsc = {
42854285
.pd = {
42864286
.name = "usb30_sec_gdsc",
42874287
},
4288-
.pwrsts = PWRSTS_OFF_ON,
4288+
.pwrsts = PWRSTS_RET_ON,
42894289
.flags = RETAIN_FF_ENABLE | POLL_CFG_GDSCR,
42904290
};
42914291

0 commit comments

Comments
 (0)