[PATCH] clk: renesas: rcar-gen3: Fix SSCG caching replacement with MDSEL/PE caching

Tom Rini trini at konsulko.com
Sat Oct 5 21:35:00 CEST 2024


On Sat, Oct 05, 2024 at 07:45:02PM +0200, Marek Vasut wrote:

> The SSCG is active with MDSEL[12] is not set. Previous commit
> 99c7e031196d ("clk: renesas: rcar-gen3: Replace SSCG caching
> with MDSEL/PE caching") inverted the conditional assignment
> of priv->sscg = !(cpg_mode & BIT(12)) during conversion from
> (priv->sscg ? 16 : 0) to priv->cpg_mode & BIT(core->offset) ? 16 : 0;
> Invert the assignment back to the correct state.
> 
> This fixes R8A77980, R8A77990, R8A77995 and R8A774C0.
> 
> Fixes: 99c7e031196d ("clk: renesas: rcar-gen3: Replace SSCG caching with MDSEL/PE caching")
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241005/47ff08f1/attachment.sig>


More information about the U-Boot mailing list