[PATCH v2] clk: mediatek: fixed static checker warning in clk_cpumux_get_parent call

Stephen Boyd sboyd at codeaurora.org
Mon Jul 17 18:17:47 PDT 2017


On 07/17, sean.wang at mediatek.com wrote:
> From: Sean Wang <sean.wang at mediatek.com>
> 
> 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: commit 1e17de9049da ("clk: mediatek: add missing cpu mux causing Mediatek cpufreq can't work")
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Sean Wang <sean.wang at mediatek.com>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project



More information about the Linux-mediatek mailing list