drm/amdgpu: Fix typos in amdgpu_stop_pending_resets

Change amdggpu to amdgpu and pedning to pending

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Kent Russell 2022-06-28 10:40:59 -04:00 committed by Alex Deucher
parent 0b58162e12
commit d193b12b2f

View File

@ -5076,7 +5076,7 @@ static void amdgpu_device_recheck_guilty_jobs(
}
}
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 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
* 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));