diff options
author | Leo Li <sunpeng.li@amd.com> | 2022-02-24 16:30:41 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-15 14:25:16 -0400 |
commit | 44ca49f046f89a97ad319372b4fdbde67da1b6b3 (patch) | |
tree | e08c1435d1a617152f53ba523522c9974e286050 /lib/once.c | |
parent | 32685b32d825ca08c5dec826477332df886c4743 (diff) |
drm/amd/display: Fix compile error from TO_CLK_MGR_INTERNAL
[Why]
On LNX, TO_CLK_MGR_INTERNAL() only works to get clk_mgr_internal from a
given clk_mgr. In clk_mgr_dcn316 struct, the clk_mgr_internal is already
a memeber by the alias 'base'
[How]
Use &clk_mgr->base instead.
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions