commit | eaa24e7f98efffaf64eb4e78657d559c4f2dbe5b | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Fri Sep 30 17:37:00 2016 +0900 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 06 10:31:59 2016 -0400 |
tree | 0964db9464a8f880ac6227e688a547e63bb449ff | |
parent | 1079b3a2cea0704288baea4babecf7e39a6ba9c7 [diff] |
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>