提交 e589376d 编写于 作者: P Peter De Schrijver 提交者: Thierry Reding

clk: tegra: Fix type for m field

When used as part of fractional ndiv calculations, the current range is
not enough because the denominator of the fraction is multiplied with m.
Signed-off-by: NPeter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: NMikko Perttunen <mperttunen@nvidia.com>
Tested-by: NMikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 ef6ed2b9
...@@ -116,7 +116,7 @@ struct tegra_clk_pll_freq_table { ...@@ -116,7 +116,7 @@ struct tegra_clk_pll_freq_table {
unsigned long input_rate; unsigned long input_rate;
unsigned long output_rate; unsigned long output_rate;
u32 n; u32 n;
u16 m; u32 m;
u8 p; u8 p;
u8 cpcon; u8 cpcon;
u16 sdm_data; u16 sdm_data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册