From d193b12b2fa6dc316e3ee8871b4ec05992bcb7b1 Mon Sep 17 00:00:00 2001 From: Kent Russell Date: Tue, 28 Jun 2022 10:40:59 -0400 Subject: drm/amdgpu: Fix typos in amdgpu_stop_pending_resets Change amdggpu to amdgpu and pedning to pending Signed-off-by: Kent Russell Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 0a1c47ccd1ea..41f68b3427f2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -5076,7 +5076,7 @@ retry: } } -static inline void amdggpu_device_stop_pedning_resets(struct amdgpu_device *adev) +static inline void amdgpu_device_stop_pending_resets(struct amdgpu_device *adev) { struct amdgpu_ras *con = amdgpu_ras_get_context(adev); @@ -5257,7 +5257,7 @@ retry: /* Rest of adevs pre asic reset from XGMI hive. */ * Drop all pending non scheduler resets. Scheduler resets * were already dropped during drm_sched_stop */ - amdggpu_device_stop_pedning_resets(tmp_adev); + amdgpu_device_stop_pending_resets(tmp_adev); } tmp_vram_lost_counter = atomic_read(&((adev)->vram_lost_counter)); -- cgit v1.2.3