commit | dcc67fa03a89f6a8ddc53b25b8bcb0723c236df2 | [log] [tgz] |
---|---|---|
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | Sun Feb 14 03:17:18 2021 +0100 |
committer | Sean Anderson <seanga2@gmail.com> | Wed Dec 15 12:16:15 2021 -0500 |
tree | 33eb1b5ad07ec50f8c3a86f663ab344244100759 | |
parent | 80882c5d89552e6cf7a21120d47caae4fd4dc2ac [diff] |
clk: fix clk_get_rate() documentation Improve clk_get_rate() @return documentation that otherwise is a bit ambiguous. At the moment I expect to return 0 as error since the return type is 'ulong', instead the function really returns negative value in case the corresponding function pointer is null and returns 0 if the clock is invalid. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Reviewed-by: Sean Anderson <seanga2@gmail.com>