Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 -1
+1 -1
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
··· 8282 8282 int i; 8283 8283 int result = -EIO; 8284 8284 8285 - if (!ddc_service->ddc_pin || !ddc_service->ddc_pin->hw_info.hw_supported) 8285 + if (!ddc_service->ddc_pin) 8286 8286 return result; 8287 8287 8288 8288 cmd.payloads = kcalloc(num, sizeof(struct i2c_payload), GFP_KERNEL);