commit | f0d5a6b496c41142dccca5861eaa180a81860a19 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Wed Jun 24 06:41:08 2020 -0400 |
committer | Andes <uboot@andestech.com> | Wed Jul 01 15:01:21 2020 +0800 |
tree | c754c17b3dd2232eee56f3048878a2c25896f03c | |
parent | aa1e85f2de8ab27d7de23dcbb6f88560f1a8d431 [diff] |
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>