clk: ccf: fix enable_count mismatch
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20231111-enable_count-ad5001326815Versions newest first
Changes in v3 from the cover letter
- move i2v_root in front of devm clocks. So that clk_test driver needs a minimum modification
- squash patch 1, 3 and 4. -- Suggested by Sean
- rewrite commit log for clarity.
- Link to v2: https://lore.kernel.org/r/[email protected]
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | clk: get correct ops for clk_enable() and clk_disable()drivers/ | +2 | 0 replies | |
| 2/2 | test: dm: clk_ccf: test ccf_clk_opsarch/ arch/ drivers/ +2 more | +17 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Sean Anderson |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] clk: ccf: fix enable_count mismatch
As described in [1], enable_count is incremented by 2 when ccf_clk_enable() is called. This series of patch fixed this issue and added a testcase for that.
---
Changes in v3:
- move i2v_root in front of devm clocks. So that clk_test driver needs a minimum modification
- squash patch 1, 3 and 4. -- Suggested by Sean
- rewrite commit log for clarity.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- add missing SoB in patch 1/4, no functional change
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Yang Xiwen (2):
clk: get correct ops for clk_enable() and clk_disable()
test: dm: clk_ccf: test ccf_clk_ops
arch/sandbox/dts/test.dts | 4 +++- arch/sandbox/include/asm/clk.h | 1 + drivers/clk/clk-uclass.c | 2 ++ drivers/clk/clk_sandbox_ccf.c | 1 + drivers/clk/clk_sandbox_test.c | 1 + test/dm/clk_ccf.c | 14 +++++++++++--- 6 files changed, 19 insertions(+), 4 deletions(-)
---
base-commit: 3b913c148249a2b9d12ff25517ec311646e83bee
change-id: 20231111-enable_count-ad5001326815
Best regards,
Signature · 1 line
Yang Xiwen <[email protected]>