]> 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)
commite0a0e91025fdfbbd634e791f61f8e7ab03e65e90
treeb4825a2c9baf31bc41904c82df46d51f5db4f0d2
parent443152d8b5c9c093b6a84467626c3b341fd78829
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