Skip to content

[PW_SID:1145985] clk: microchip: mpfs: fix regmap_update_bits() mask/val order - #2472

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1145985
Closed

[PW_SID:1145985] clk: microchip: mpfs: fix regmap_update_bits() mask/val order#2472
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1145985

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1145985 applied to workflow__riscv__fixes

Name: clk: microchip: mpfs: fix regmap_update_bits() mask/val order
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1145985
Version: 1

Linux RISC-V bot and others added 2 commits August 8, 2026 18:30
mpfs_cfg_clk_set_rate() passes the mask and value arguments to
regmap_update_bits() in the wrong order. The resulting write becomes
reg = orig_reg | val, causing bits to not be cleared if the clock
divider changes.

Pass the arguments in the correct order so the divider field is updated
as intended.

Fixes: c6f2ddd ("clk: microchip: mpfs: use regmap for clocks")
Signed-off-by: Pedro Kopper <pedro.kopper@microchip.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 143.86 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1408.73 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1745.74 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 27.00 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.70 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.77 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 88.07 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
kdoc
Desc: Detects for kdoc errors
Duration: 0.92 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
module-param
Desc: Detect module_param changes
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "clk: microchip: mpfs: fix regmap_update_bits() mask/val order"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.34 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch 4 times, most recently from bb1a926 to 6f6f7c0 Compare August 21, 2026 03:35
@linux-riscv-bot
linux-riscv-bot deleted the pw1145985 branch August 22, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants