diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2016-09-30 08:37:00 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-06 14:31:59 (GMT) |
commit | ab895d6af224a427db4ffb70884588a2449be1c6 (patch) | |
tree | 0964db9464a8f880ac6227e688a547e63bb449ff /cmd/mmc.c | |
parent | 53fec162061811a73c7dab3207f8fdb2343ae289 (diff) | |
download | u-boot-fsl-qoriq-ab895d6af224a427db4ffb70884588a2449be1c6.tar.xz |
serial: ns16550: Handle -ENOENT when requesting clock
When calling clk_get_by_index(), fall back to the legacy method of
getting the clock if -ENOENT is returned.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'cmd/mmc.c')
0 files changed, 0 insertions, 0 deletions