commit | 7f218978f10693f65e35b0bbcdcd539fbe78221a | [log] [tgz] |
---|---|---|
author | Georgi Djakov <georgi.djakov@linaro.org> | Fri Mar 20 18:30:24 2015 +0200 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Mon Mar 23 15:50:53 2015 -0700 |
tree | 7f83ff1dfa6340053dc005784ff9930d4e101807 | |
parent | 0b21503dbbfa669dbd847b33578d4041513cddb2 [diff] |
clk: qcom: Fix clk_get_parent function return value According to the common clock framework API, the clk_get_parent() function should return u8. Currently we are returning negative values on error. Fix this and use the default parent in case of an error. Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>