PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out
There is another kHz-conversion bug in the code, resulting in integer overflow. Although, this time the resulting value is 4294966296 and it's close to ULONG_MAX, which is okay in this case. Reviewed-by: NChanwoo Choi <cw00.choi@samsung.com> Tested-by: NPeter Geis <pgwipeout@gmail.com> Signed-off-by: NDmitry Osipenko <digetx@gmail.com> Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
Showing
想要评论请 注册 或 登录