Skip to content

[PW_SID:1126434] thermal: spacemit: k1: disable hardware on driver remove#2270

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

[PW_SID:1126434] thermal: spacemit: k1: disable hardware on driver remove#2270
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1126434

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1126434 applied to workflow__riscv__fixes

Name: thermal: spacemit: k1: disable hardware on driver remove
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1126434
Version: 1

Linux RISC-V bot and others added 2 commits July 11, 2026 01:54
The driver uses devm_request_threaded_irq() but never disables the
hardware interrupt enable, sensor enable, or sensor power bits when
the driver is unbound.

Add a devm action that clears K1_TSENSOR_INT_EN_REG,
K1_TSENSOR_EN_ALL, and K1_TSENSOR_PCTRL_ENABLE on remove, mirroring
what k1_tsensor_init() sets up.

Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 120.27 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1149.61 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1463.96 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.43 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.65 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 86.31 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
kdoc
Desc: Detects for kdoc errors
Duration: 0.73 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
module-param
Desc: Detect module_param changes
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "thermal: spacemit: k1: disable hardware on driver remove"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch from da477a6 to 869345e Compare July 13, 2026 18:24
@linux-riscv-bot
linux-riscv-bot deleted the pw1126434 branch July 13, 2026 18:25
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.

1 participant