commit | 6017b9a08fdfc982465952189e747cbda33fcb8c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Apr 14 21:03:32 2015 -0600 |
committer | Tom Warren <twarren@nvidia.com> | Wed May 13 09:24:09 2015 -0700 |
tree | 4424e11db0c6071ddc45e0c292026363863d6543 | |
parent | ea797e5e6e4e41da42900cd3171e1b01c42a8b35 [diff] |
tegra: clock: Add checking for invalid clock IDs The get_pll() function can do the wrong thing if passed values that are out of range. Add checks for this and add a function which can return a 'simple' PLL. This can be defined by SoCs with their own clocks. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>