diff options
author | Sean Anderson <seanga2@gmail.com> | 2020-06-24 13:41:08 +0300 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2020-07-01 10:01:21 +0300 |
commit | 675d79073cc347ba72567668da69aebd1d1915fa (patch) | |
tree | c754c17b3dd2232eee56f3048878a2c25896f03c /include | |
parent | 5e8317a9faff472e8b83f5760535e9bf40571a8a (diff) | |
download | u-boot-675d79073cc347ba72567668da69aebd1d1915fa.tar.xz |
clk: Fix clk_get_by_* handling of index
clk_get_by_index_nodev only ever fetched clock 1, due to passing a boolean
predicate instead of the index. Other clk_get_by_* functions got the clock
correctly, but passed a predicate instead of the index to clk_get_by_tail.
This could lead to confusing error messages.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
CC: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions