]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: sor: Deduplicate connector type detection code
authorThierry Reding <treding@nvidia.com>
Thu, 27 Jun 2019 10:29:56 +0000 (12:29 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:55 +0000 (11:18 +0100)
commit1450ffaddc4300aa63894b050c8933c9b8da2a09
treeb4825a2c9baf31bc41904c82df46d51f5db4f0d2
parentf5eb7add05457d3e6eb3d2a608898fa62ea18ca1
drm/tegra: sor: Deduplicate connector type detection code

The connector type detection code is duplicated in two places. Keeping
both places in sync is an extra maintenance burden that can be avoided
by comparing the connector type operations that are set upon the first
detection.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c