Skip to content

serial: 8250_dw: Fix runtime PM and use _DEFINE_DEV_PM_OPS

Artem Shimko linux-serial lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

* Split combined changes into separate logical commits
* Added detailed commit messages explaining the changes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2serial: 8250_dw: handle clock enable errors in runtime_resumedrivers/tty/serial/8250/8250_dw.c+9 -20 replies
2/2serial: 8250_dw: fix runtime PM initialization sequencedrivers/tty/serial/8250/8250_dw.c+7 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] serial: 8250_dw: Fix runtime PM and use _DEFINE_DEV_PM_OPS

Dear maintainers and reviewers,

This patch series enhances runtime power management error handling in the 8250_dw driver and updates the PM ops initialization to modern kernel standards.

The first patch adds proper error checking for clock enable operations in runtime_resume, ensuring that failures are properly propagated rather than silently ignored.

The second patch reorganizes the runtime PM initialization sequence to simplify error handling and prevent potential suspend during device probe.

Thank you for your consideration.

--
Best regards,
Artem Shimko

---

ChangeLog:
v1: https://lore.kernel.org/all/[email protected]/T/#u
v2:
* Split combined changes into separate logical commits
* Added detailed commit messages explaining the changes

Artem Shimko (2):
serial: 8250_dw: handle clock enable errors in runtime_resume
serial: 8250_dw: fix runtime PM initialization sequence

 drivers/tty/serial/8250/8250_dw.c | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)
Signature · 1 line
2.43.0