]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: macb: Fix clk API usage for RISC-V systems
authorAnup Patel <Anup.Patel@wdc.com>
Mon, 25 Feb 2019 08:14:36 +0000 (08:14 +0000)
committerAndes <uboot@andestech.com>
Wed, 27 Feb 2019 01:12:33 +0000 (09:12 +0800)
commit2e242f5f43ed9945d4b9005672b654d49360e43a
tree7f2f57931458732da69a1b956e830f1c3f3f5bb6
parent26f4fd1cb4f6808328e8eab2afe7454172fe6d2c
net: macb: Fix clk API usage for RISC-V systems

Don't fail in macb_enable_clk() if clk_enable() returns
-ENOSYS because we get -ENOSYS for fixed-rate clocks.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/net/macb.c