Skip to content
Commit 12d15262 authored by Dario Binacchi's avatar Dario Binacchi Committed by Lukasz Majewski
Browse files

clk: ccf: mux: change the get_rate helper



The previous version of the get_rate helper does not work if the mux
clock parent is changed after the probe. This error has not been
detected because this condition has not been tested. The error occurs
because the set_parent helper does not change the parent of the clock
device but only the clock selection register. Since changing the parent
of a probed device can be tricky, the new version of the get_rate helper
provides the rate of the selected clock and not that of the parent.

Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
parent e3b5d74c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment