diff options
| author | Bob Zhou <[email protected]> | 2024-04-24 07:24:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-26 21:22:43 +0000 |
| commit | cd48b97ce7787cf271f56ed4ea2037e1680cb29a (patch) | |
| tree | 37812c09f072ce73955aa955f4144d5b041909a4 /drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | |
| parent | drm/amdgpu: add error handle to avoid out-of-bounds (diff) | |
| download | kernel-cd48b97ce7787cf271f56ed4ea2037e1680cb29a.tar.gz kernel-cd48b97ce7787cf271f56ed4ea2037e1680cb29a.zip | |
drm/amdgpu: add return result for amdgpu_i2c_{get/put}_byte
After amdgpu_i2c_get_byte fail, amdgpu_i2c_put_byte shouldn't be
conducted to put wrong value.
So return and check the i2c transfer result.
Signed-off-by: Bob Zhou <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c')
0 files changed, 0 insertions, 0 deletions
