diff options
author | Bob Zhou <bob.zhou@amd.com> | 2024-04-24 15:24:05 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:43 -0400 |
commit | cd48b97ce7787cf271f56ed4ea2037e1680cb29a (patch) | |
tree | 37812c09f072ce73955aa955f4144d5b041909a4 /drivers/gpu/drm/amd/include | |
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 <bob.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
0 files changed, 0 insertions, 0 deletions