From dde3ca2d735aef186049f668d72f629a955be0c4 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Fri, 1 May 2020 03:41:00 +0300 Subject: [PATCH] sdmmc: Properly disable parent clock --- nyx/nyx_gui/soc/clock.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nyx/nyx_gui/soc/clock.c b/nyx/nyx_gui/soc/clock.c index f54cfba..20c6d62 100644 --- a/nyx/nyx_gui/soc/clock.c +++ b/nyx/nyx_gui/soc/clock.c @@ -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; }