lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue,  3 Dec 2019 23:35:32 +0100
From:   Greg Kroah-Hartman <>
Cc:     Greg Kroah-Hartman <>,,
        Eugen Hristev <>,
        Alexandre Belloni <>,
        Claudiu Beznea <>,
        Stephen Boyd <>,
        Lee Jones <>
Subject: [PATCH 4.19 266/321] clk: at91: fix update bit maps on CFG_MOR write

From: Eugen Hristev <>

commit 263eaf8f172d9f44e15d6aca85fe40ec18d2c477 upstream.

The regmap update bits call was not selecting the proper mask, considering
the bits which was updating.
Update the mask from call to also include OSCBYPASS.
Removed MOSCEN which was not updated.

Fixes: 1bdf02326b71 ("clk: at91: make use of syscon/regmap internally")
Signed-off-by: Eugen Hristev <>
Acked-by: Alexandre Belloni <>
Reviewed-by: Claudiu Beznea <>
Signed-off-by: Stephen Boyd <>
Signed-off-by: Lee Jones <>
Signed-off-by: Greg Kroah-Hartman <>

 drivers/clk/at91/clk-main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/clk/at91/clk-main.c
+++ b/drivers/clk/at91/clk-main.c
@@ -162,7 +162,7 @@ at91_clk_register_main_osc(struct regmap
 	if (bypass)
-				   AT91_PMC_MOSCEN,
 	hw = &osc->hw;

Powered by blists - more mailing lists