mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 21:44:15 +00:00
fix(st-clock): disabling CKPER clock is not functional on stm32mp13
The mask used to configure the CKPER MUX was wrong and unnecessary. Change-Id: I40098f2a27b9e5ba8706ab5377d23f578c09838b Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
This commit is contained in:
parent
b156d7b1cc
commit
1bbcb58a69
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2022, STMicroelectronics - All Rights Reserved
|
* Copyright (C) 2022-2023, STMicroelectronics - All Rights Reserved
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -1216,7 +1216,7 @@ static int stm32_clk_source_configure(struct stm32_clk_priv *priv)
|
||||||
* => deactivate CKPER only after switching clock
|
* => deactivate CKPER only after switching clock
|
||||||
*/
|
*/
|
||||||
if (ckper_disabled) {
|
if (ckper_disabled) {
|
||||||
ret = stm32_clk_configure_mux(priv, CLK_CKPER_DISABLED & CMD_MASK);
|
ret = stm32_clk_configure_mux(priv, CLK_CKPER_DISABLED);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue