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

Artem Shimko posted 2 patches 3 months ago
drivers/tty/serial/8250/8250_dw.c | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
[PATCH v2 0/2] serial: 8250_dw: Fix runtime PM and use _DEFINE_DEV_PM_OPS
Posted by Artem Shimko 3 months ago
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/20251030174142.2039122-1-a.shimko.dev@gmail.com/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(-)

-- 
2.43.0