diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2019-03-27 16:13:48 +0100 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2019-03-29 09:41:30 +0100 |
commit | 6620f45ff8519549a6877663f965c10002918dc2 (patch) | |
tree | c90645d295befb0454a9a4da9de57c7a1928ee70 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | d6f987c8462ab97591fbd6ed6bea6df61d2919e5 (diff) |
clk: meson: vid-pll-div: remove warning and return 0 on invalid config
The vid_pll_div is a programmable fractional divider, but vendor gives a
limited of known configuration value and it's corresponding fraction.
Thus when at reset value (0) or unknown value, we cannot determine the
result rate.
The initial behaviour was to print a warning, but the warning triggers
at each boot and when the clock tree is refreshed.
This patch moves the print to debug and returns 0 instead of the
parent rate.
Fixes: 72dbb8c94d0d ("clk: meson: Add vid_pll divider driver")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lkml.kernel.org/r/20190327151348.27402-1-narmstrong@baylibre.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions