]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: at91: pm: fix .uhp_udp_mask specification for current SoCs
authorNicolas Ferre <nicolas.ferre@microchip.com>
Wed, 27 Aug 2025 14:54:25 +0000 (16:54 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sat, 30 Aug 2025 08:38:55 +0000 (11:38 +0300)
All SoCs using this structure field .uhp_udp_mask in configuration
index 4 don't have the bit 7 specified: sam9x60 nor sam9x75.
Remove this bit from the mask definition to match register layout.

This mask is used in function at91_pm_verify_clocks().

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20250827145427.46819-2-nicolas.ferre@microchip.com
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/mach-at91/pm.c

index 3aa20038ad932b5f311702aca4a206b841123d45..35058b99069c15125a1e4a0fa79996e266ead49b 100644 (file)
@@ -1364,7 +1364,7 @@ static const struct pmc_info pmc_infos[] __initconst = {
                .version = AT91_PMC_V1,
        },
        {
-               .uhp_udp_mask = AT91SAM926x_PMC_UHP | AT91SAM926x_PMC_UDP,
+               .uhp_udp_mask = AT91SAM926x_PMC_UHP,
                .mckr = 0x28,
                .version = AT91_PMC_V2,
        },