]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: Update drivers to use -EINVAL
authorSimon Glass <sjg@chromium.org>
Wed, 24 Mar 2021 21:26:08 +0000 (10:26 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000 (16:33 +1200)
commit9042bf6fe415c319958637b5e8b44ea4cf6f3a76
tree8fadae3ed89be9610c3175410e9fd629b2aa4db1
parent2f541aa53c73b00dfb613e0560cc703547233561
clk: Update drivers to use -EINVAL

At present some drivers use -ENOSUPP to indicate that an unknown or
unsupported clock is used. Most use -EINVAL, indicating an invalid value,
so convert everything to that.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/clk/aspeed/clk_ast2600.c
drivers/clk/clk-hsdk-cgu.c
drivers/clk/imx/clk-imx8.c
drivers/clk/imx/clk-imx8qm.c
drivers/clk/imx/clk-imx8qxp.c
drivers/clk/imx/clk-pllv3.c
drivers/clk/kendryte/bypass.c
drivers/clk/kendryte/clk.c
drivers/clk/mvebu/armada-37xx-periph.c