aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorCai Li <[email protected]>2017-11-21 09:24:38 +0000
committerStephen Boyd <[email protected]>2017-12-05 23:28:51 +0000
commit975b820b6836b6b6c42fb84cd2e772e2b41bca67 (patch)
treebe5a439036e60b2b6a66620ba34c2e35d7a223d9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentclk: Manage proper runtime PM state in clk_change_rate() (diff)
downloadkernel-975b820b6836b6b6c42fb84cd2e772e2b41bca67.tar.gz
kernel-975b820b6836b6b6c42fb84cd2e772e2b41bca67.zip
clk: fix a panic error caused by accessing NULL pointer
In some cases the clock parent would be set NULL when doing re-parent, it will cause a NULL pointer accessing if clk_set trace event is enabled. This patch sets the parent as "none" if the input parameter is NULL. Fixes: dfc202ead312 (clk: Add tracepoints for hardware operations) Signed-off-by: Cai Li <[email protected]> Signed-off-by: Chunyan Zhang <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions