mbox series

[v2,0/2] clk: fix corner case of clk_mux_determine_rate_flags()

Message ID 20230421-clk-v2-0-74c6cc2214d1@outlook.com (mailing list archive)
Headers show
Series clk: fix corner case of clk_mux_determine_rate_flags() | expand

Message

Yang Xiwen via B4 Relay April 25, 2023, 7:46 a.m. UTC
Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
---
Changes in v2:
- Add a unit test to clk_test.c
- Link to v1: https://lore.kernel.org/r/20230421-clk-v1-1-bb503f2f2cf3@outlook.com

---
Yang Xiwen (2):
      clk: use ULONG_MAX as the initial value for the iteration in clk_mux_determine_rate_flags()
      clk: tests: Add missing test case for mux determine_rate

 drivers/clk/clk.c      | 5 ++++-
 drivers/clk/clk_test.c | 9 +++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
---
base-commit: 76f598ba7d8e2bfb4855b5298caedd5af0c374a8
change-id: 20230421-clk-64c6b6e21cdb

Best regards,