[PW_SID:1126434] thermal: spacemit: k1: disable hardware on driver remove#2270
[PW_SID:1126434] thermal: spacemit: k1: disable hardware on driver remove#2270linux-riscv-bot wants to merge 2 commits into
Conversation
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>
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
|
Patch 1: "thermal: spacemit: k1: disable hardware on driver remove" |
da477a6 to
869345e
Compare
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