mbox series

[v4,0/3] spi: geni-qcom: Undo runtime PM changes at driver exit time

Message ID 20240909132810.1296786-1-ruanjinjie@huawei.com
Headers show
Series spi: geni-qcom: Undo runtime PM changes at driver exit time | expand

Message

Jinjie Ruan Sept. 9, 2024, 1:28 p.m. UTC
Fix two bugs for geni-qcom and use dev managed function
to simplify code.

Compile-tested only.

Changes in v4:
- Correct the "data" of devm_add_action_or_reset().
- Add reviewed-by.
- Update the commit message.

Changes in v3:
- Adjust the runtime PM patch to be the first.
- Use devm_pm_runtime_enable() to undo runtime PM changes.
- Land the rest of the cleanups afterwards.
- Update the commit message.

Changes in v2:
- Split out the device managed cleanup patch.
- PATCH -next -> PATCH
- Also fix the incorrect free_irq() sequence.


Jinjie Ruan (3):
  spi: geni-qcom: Undo runtime PM changes at driver exit time
  spi: geni-qcom: Fix incorrect free_irq() sequence
  spi: geni-qcom: Use devm functions to simplify code

 drivers/spi/spi-geni-qcom.c | 50 ++++++++++++++-----------------------
 1 file changed, 19 insertions(+), 31 deletions(-)