]> 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)
commit145b506ca006fc51f9da6555471760e7248bdbb6
tree69786f221d9aa46aaad376280829500563698cb8
parent27f92f16df0034cc90dc375d7174423bca907062
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