diff options
author | Sean Wang <sean.wang@mediatek.com> | 2017-07-17 09:01:19 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-07-18 04:17:28 +0300 |
commit | fa12167cedea353e71dfb776023b84381305b4d9 (patch) | |
tree | 106d19ea27ece6fd2f0a4dc1c3858a7f995a9861 /drivers/clk/qcom | |
parent | 3a11c6618e176aecf129c6d2f0cbc9440672f378 (diff) | |
download | linux-fa12167cedea353e71dfb776023b84381305b4d9.tar.xz |
clk: mediatek: fixed static checker warning in clk_cpumux_get_parent call
Fixed the signedness bug returning '(-22)' on the return type as u8 with
removing the sanity checker in clk_cpumux_get_parent() since
clk_cpumux_set_parent() always ensures validity in clk_cpumux_get_parent()
got called.
Fixes: 1e17de9049da ("clk: mediatek: add missing cpu mux causing Mediatek cpufreq can't work")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom')
0 files changed, 0 insertions, 0 deletions