diff options
author | 2020-12-03 14:25:38 +0100 | |
---|---|---|
committer | 2020-12-07 10:33:22 +0100 | |
commit | dc0bf36401e891c853e0a25baeb4e0b4e6f3626d (patch) | |
tree | 874cc1565579d6d56257f544fd5123f0beaf4d1c /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | drm/vc4: dsi: Correct DSI register definition (diff) | |
download | wireguard-linux-dc0bf36401e891c853e0a25baeb4e0b4e6f3626d.tar.xz wireguard-linux-dc0bf36401e891c853e0a25baeb4e0b4e6f3626d.zip |
drm/vc4: dsi: Use snprintf for the PHY clocks instead of an array
The DSI clocks setup function has been using an array to store the clock
name of either the DSI0 or DSI1 blocks, using the port ID to choose the
proper one.
Let's switch to an snprintf call to do the same thing and simplify the
array a bit.
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20201203132543.861591-4-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions