summaryrefslogtreecommitdiff
path: root/drivers/timer
diff options
context:
space:
mode:
authorIsmael Luceno Cortes <ismael.luceno@silicon-gears.com>2019-03-18 12:27:32 +0000
committerMarek Vasut <marex@denx.de>2019-05-04 19:26:49 +0200
commit80b44fb3765e42e88e9cdd6cc037b47e3e263ff1 (patch)
treeced3c3136b3ee905c0a182903ba19b248f6d8a9c /drivers/timer
parent4862830b696a6d0750e19d32a82553cdb41a85f8 (diff)
cmd: clk: Handle ENODEV from clk_get_rate
clk_get_rate may return -ENODEV if the clock isn't valid. Also, make the error cases go through a single path. Fixes: ff8eee0330a6 ("cmd: clk: Add trivial implementation of clock dump for DM") Signed-off-by: Ismael Luceno <ismael.luceno@silicon-gears.com> Reviewed-by: Matthias Brugger <mbrugger@suse.com> Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'drivers/timer')
0 files changed, 0 insertions, 0 deletions