Skip to content

Commit 33da70b

Browse files
committed
drm/amd/display/dm: drop hw_support check in amdgpu_dm_i2c_xfer()
DC supports SW i2c as well. Drop the check. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 0371dbd commit 33da70b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8282,7 +8282,7 @@ static int amdgpu_dm_i2c_xfer(struct i2c_adapter *i2c_adap,
82828282
int i;
82838283
int result = -EIO;
82848284

8285-
if (!ddc_service->ddc_pin || !ddc_service->ddc_pin->hw_info.hw_supported)
8285+
if (!ddc_service->ddc_pin)
82868286
return result;
82878287

82888288
cmd.payloads = kcalloc(num, sizeof(struct i2c_payload), GFP_KERNEL);

0 commit comments

Comments
 (0)