diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2024-01-22 17:38:23 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-25 15:45:11 -0500 |
commit | bc8f6d42b1334f486980d57c8d12f3128d30c2e3 (patch) | |
tree | 9fa0d4f57db03935ce2452b11b74b6272cab69db /drivers/mfd/88pm860x-i2c.c | |
parent | 89a7c0bd74918f723c94c10452265e25063cba9b (diff) | |
download | linux-bc8f6d42b1334f486980d57c8d12f3128d30c2e3.tar.gz linux-bc8f6d42b1334f486980d57c8d12f3128d30c2e3.tar.bz2 linux-bc8f6d42b1334f486980d57c8d12f3128d30c2e3.zip |
drm/amdgpu: Fix null pointer dereference
amdgpu_reg_state_sysfs_fini could be invoked at the
time when asic_func is even not initialized, i.e.,
amdgpu_discovery_init fails for some reason.
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/mfd/88pm860x-i2c.c')
0 files changed, 0 insertions, 0 deletions