summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2022-09-28 12:37:57 +0200
committerSean Anderson <seanga2@gmail.com>2022-10-19 12:06:41 -0400
commita1265cd5804474f1c39731c73c65160a1eaf88f4 (patch)
tree338caddfcc8331933608701f9674f32a09fa85d0 /drivers/ddr/imx
parentd3ccdc0fce206c1d54fbdc607333de6184e19e75 (diff)
clk: change return type of clk_get_parent_rate from long long to ulong
All functions getting and setting clock rate use ulong for rate, only clk_get_parent_rate is an exception. Change the return value to match other clock rate funcrions. Most users directly assign the rate to unsigned long anyway, and the few users that use u64 (not s64) multiply the rate so they may need the extra bits for the result in their use case. Fixes: 4aa78300a0 ("dm: clk: Define clk_get_parent_rate() for clk operations") Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Sean Anderson <seanga2@gmail.com> Link: https://lore.kernel.org/r/20220928103757.11870-1-msuchanek@suse.de
Diffstat (limited to 'drivers/ddr/imx')
0 files changed, 0 insertions, 0 deletions