]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: thead: Fix clk gate registration to pass flags
authorDrew Fustini <dfustini@tenstorrent.com>
Mon, 13 Jan 2025 20:31:24 +0000 (12:31 -0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 13 Jan 2025 21:38:01 +0000 (13:38 -0800)
commita826e53fd78c7f07b8ff83446c44b227b2181920
tree6e5046f87b098660c393d2ba5b2bc6df452bdf37
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
clk: thead: Fix clk gate registration to pass flags

Modify the call to devm_clk_hw_register_gate_parent_data() to actually
pass the clk flags from hw.init instead of just 0. This is necessary to
allow individual clk gates to specify their own clk flags.

Fixes: ae81b69fd2b1 ("clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocks")
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
Link: https://lore.kernel.org/r/20250113-th1520-clk_ignore_unused-v1-1-0b08fb813438@tenstorrent.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/thead/clk-th1520-ap.c