Re: [PATCH] clk: mediatek: mt7981-topckgen: flag SGM_REG_SEL as critical

From: AngeloGioacchino Del Regno
Date: Mon Feb 19 2024 - 07:34:36 EST


Il 18/02/24 04:11, Daniel Golle ha scritto:
Without the SGM_REG_SEL clock enabled the cpu freezes if trying to
access registers used by MT7981 clock drivers itself.
Mark SGM_REG_SEL as critical to make sure it is always enabled to
prevent freezes on boot even if the Ethernet driver which prepares
and enables the clock is not loaded or probed at a later point.

Fixes: 813c3b53b55b ("clk: mediatek: add MT7981 clock support")
Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>