OSDN Git Service

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)
commit1c3cc0df8299d95a11421ab596b3e9cdcce1a77d
treeb4825a2c9baf31bc41904c82df46d51f5db4f0d2
parent4bdf4710e00a502347e33dc2454821fa9af2968b
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