summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2019-02-25 08:15:08 +0000
committerAndes <[email protected]>2019-02-27 09:12:33 +0800
commitee0633ef8b027960bd53ab62abb6f6fc25b1c66b (patch)
tree5a0c2f82bc53413bf9a5130e2839dd4089ec4c85 /scripts
parenta3682008a03c0d4a58bcf62ca1e4a37187c9a8df (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 <[email protected]> Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Alexander Graf <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions