aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
diff options
context:
space:
mode:
authorBob Zhou <[email protected]>2024-04-24 07:24:05 +0000
committerAlex Deucher <[email protected]>2024-04-26 21:22:43 +0000
commitcd48b97ce7787cf271f56ed4ea2037e1680cb29a (patch)
tree37812c09f072ce73955aa955f4144d5b041909a4 /drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
parentdrm/amdgpu: add error handle to avoid out-of-bounds (diff)
downloadkernel-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