diff options
author | Bob Zhou <[email protected]> | 2024-04-24 15:24:05 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-04-26 17:22:43 -0400 |
commit | cd48b97ce7787cf271f56ed4ea2037e1680cb29a (patch) | |
tree | 37812c09f072ce73955aa955f4144d5b041909a4 /drivers/gpu/drm/amd/amdgpu/atom.c | |
parent | 8b2faf1a4f3b6c748c0da36cda865a226534d520 (diff) |
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/atom.c')
0 files changed, 0 insertions, 0 deletions