]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use a single loop
authorLuben Tuikov <luben.tuikov@amd.com>
Fri, 4 Jun 2021 03:58:19 +0000 (23:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jul 2021 04:25:33 +0000 (00:25 -0400)
commit134d5548b4efe39305297d9f94649bd45da8a8ec
tree92f2122cb42b480325039354919954ae4d4c9b5a
parentaac107208537ca62f6d0193b1312566dc70b88c0
drm/amdgpu: Use a single loop

In smu_v11_0_i2c_transmit() use a single loop to
transmit bytes, instead of two nested loops.

Cc: Alexander Deucher <Alexander.Deucher@amd.com>
Cc: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alexander Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c