aboutsummaryrefslogtreecommitdiff
path: root/common/spl/Kconfig
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2018-07-26 15:19:32 +0200
committerTom Rini <trini@konsulko.com>2018-08-04 14:50:10 -0400
commitd64caaf77dec2f0a576d0d1f7c7f4f463ebc7de8 (patch)
tree7a7a23bc336119b5ffbc72b10df68d75a5ec36c8 /common/spl/Kconfig
parent314d3acd4d9f4e606f0c8c6b0bdbbe24be8d55d6 (diff)
downloadu-boot-d64caaf77dec2f0a576d0d1f7c7f4f463ebc7de8.zip
u-boot-d64caaf77dec2f0a576d0d1f7c7f4f463ebc7de8.tar.gz
u-boot-d64caaf77dec2f0a576d0d1f7c7f4f463ebc7de8.tar.bz2
clk: clk_set_default: accept no-op skip fields
The Assigned Clock parents and rates misses the fact that a "0" entry can be passed to skip setting a parent or rate of an assigned clock as described in the Linux clock bindings at [1]. This patch simply skips the clock reparenting if the DT parsing returns -ENOENT and the clock rate setting if "0" is passed as clock rate. [1] https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/clock/clock-bindings.txt#L135 Fixes: f4fcba5c5baa "clk: implement clk_set_defaults()" Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/spl/Kconfig')
0 files changed, 0 insertions, 0 deletions