diff options
| author | Igor Prusov <[email protected]> | 2023-12-06 02:23:33 +0300 |
|---|---|---|
| committer | Sean Anderson <[email protected]> | 2023-12-15 12:32:00 -0500 |
| commit | 54d7da77306257a03231b04e7f2f9393ad7b0e46 (patch) | |
| tree | 1b4d6e2aca365574898eebae9e56892eebb6a184 /doc/develop/python_cq.rst | |
| parent | 3fb2d3d6acbaad50d2e638f6abb4e9d7a511c462 (diff) | |
clk: Check that composite clock's div has set_rate()
It's possible for composite clocks to have a divider that does not
implement set_rate() operation. For example, sandbox_clk_composite()
registers composite clock with a divider that only has get_rate().
Currently clk_composite_set_rate() only checks thate rate_ops are
present, so for sandbox it will cause NULL dereference during
clk_set_rate().
This patch adds rate_ops->set_rate check tp clk_composite_set_rate().
Signed-off-by: Igor Prusov <[email protected]>
Reviewed-by: Sean Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'doc/develop/python_cq.rst')
0 files changed, 0 insertions, 0 deletions
