]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: make sure ddc_bus is valid in connector unregister
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 31 Oct 2016 16:27:52 +0000 (12:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 31 Oct 2016 16:27:52 +0000 (12:27 -0400)
commite4957331f6bee6e2ec80f9f330c6759150d5ef8f
tree69786f221d9aa46aaad376280829500563698cb8
parentde28c2d826255b3ec7e50e1cfeaf8877880992fb
drm/amdgpu: make sure ddc_bus is valid in connector unregister

This should only happen on boards TV connectors which do not
have a ddc bus for those connectors.  None of the asics supported
by amdgpu support tv, so we shouldn't hit this, but check
to be on the safe side (e.g., bios bug for example).

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c