mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-10 04:21:45 +00:00
sdmmc: Properly disable parent clock
This commit is contained in:
parent
9850dc305c
commit
dde3ca2d73
1 changed files with 1 additions and 4 deletions
|
@ -352,12 +352,9 @@ static void _clock_disable_pllc4(u32 mask)
|
|||
if (pllc4_enabled & PLLC4_IN_USE)
|
||||
return;
|
||||
|
||||
//FIXME: This causes issues with L4T/TWRP.
|
||||
return;
|
||||
|
||||
// Disable PLLC4.
|
||||
CLOCK(CLK_RST_CONTROLLER_PLLC4_BASE) &= ~PLLCX_BASE_ENABLE;
|
||||
CLOCK(CLK_RST_CONTROLLER_PLLC4_BASE) |= PLLCX_BASE_REF_DIS | PLLC4_BASE_IDDQ;
|
||||
CLOCK(CLK_RST_CONTROLLER_PLLC4_BASE) |= PLLC4_BASE_IDDQ;
|
||||
|
||||
pllc4_enabled = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue