Skip to content
Snippets Groups Projects
Commit ab895d6a authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Tom Rini
Browse files

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: default avatarAlexandre Courbot <acourbot@nvidia.com>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
parent 53fec162
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment