diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-02-25 08:15:08 +0000 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2019-02-27 09:12:33 +0800 |
commit | ee0633ef8b027960bd53ab62abb6f6fc25b1c66b (patch) | |
tree | 5a0c2f82bc53413bf9a5130e2839dd4089ec4c85 /drivers/net/mvgbe.c | |
parent | a3682008a03c0d4a58bcf62ca1e4a37187c9a8df (diff) |
drivers: serial_sifive: Skip baudrate config if no input clock
It is possible that input clock is not available because clk
device was not available and 'clock-frequency' DT property is
also not available.
In this case, instead of failing we should just skip baudrate
config by returning zero.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'drivers/net/mvgbe.c')
0 files changed, 0 insertions, 0 deletions