Quoting Derek Basehore (2018-12-20 16:31:00) > It's not required to traverse the entire clk tree when the parents > array contains a NULL value. You already have the parent clk_core > pointer, so you can just compare the parent->name and parent_names[i] > pointers. > > In cases where clk names are never registered, this can be > a substantial power improvement since a mux having an unregistered > parent name will traverse the clk tree on every set_rate. This can > happen hundreds of times a second on CPU clks. > > Change-Id: I85499d2e576249568ff508e424ca8d5009e6e2b1 > Signed-off-by: Derek Basehore <dbaseh...@chromium.org> > ---
Applied to clk-fixes + some commit text and comment updates.