Skip to content

Make probe() of Tegra devfreq driver completely resource-managed

Dmitry Osipenko linux-pm linux-tegra lkml 2 versions – Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesApplied
  2. v14 patches 8 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4opp: Add more resource-managed variants of dev_pm_opp_of_add_table()drivers/opp/of.c include/linux/pm_opp.h+51 -72 replies
2/4PM / devfreq: Add devm_devfreq_add_governor()drivers/devfreq/devfreq.c drivers/devfreq/governor.h+29 -01 reply
3/4PM / devfreq: tegra30: Use resource-managed helpersdrivers/devfreq/tegra30-devfreq.c+46 -611 reply
4/4PM / devfreq: tegra30: Check whether clk_round_rate() returns zero ratedrivers/devfreq/tegra30-devfreq.c+2 -20 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchChanwoo Choi
1/4
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Make probe() of Tegra devfreq driver completely resource-managed

This series adds new resource-managed helpers and makes Tegra devfreq driver to use them, improving the driver's error-handling code.

Changelog:

v2: - Added WARN_ON() to devm_devfreq_remove_governor() and moved
devm_devfreq_add_governor() as was requested by Chanwoo Choi.

- Added ack from Chanwoo Choi to the "Check whether clk_round_rate() returns zero rate" patch.

Dmitry Osipenko (4):
opp: Add more resource-managed variants of dev_pm_opp_of_add_table() PM / devfreq: Add devm_devfreq_add_governor()
PM / devfreq: tegra30: Use resource-managed helpers
PM / devfreq: tegra30: Check whether clk_round_rate() returns zero
rate

 drivers/devfreq/devfreq.c         |  26 +++++++
 drivers/devfreq/governor.h        |   3 +
 drivers/devfreq/tegra30-devfreq.c | 109 +++++++++++++-----------------
 drivers/opp/of.c                  |  46 +++++++++++--
 include/linux/pm_opp.h            |  12 ++++
 5 files changed, 127 insertions(+), 69 deletions(-)
Signature · 1 line
2.32.0