diff options
author | Georgi Djakov <georgi.djakov@linaro.org> | 2015-03-20 18:30:24 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-03-23 15:50:53 -0700 |
commit | 7f218978f10693f65e35b0bbcdcd539fbe78221a (patch) | |
tree | 7f83ff1dfa6340053dc005784ff9930d4e101807 /fs | |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions