OSDN Git Service

drm/tegra: sor: Extract common audio enabling code
authorThierry Reding <treding@nvidia.com>
Mon, 24 Jun 2019 13:13:16 +0000 (15:13 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:57 +0000 (11:18 +0100)
commita9087cf2e1994edb58418b1fd3bb2026a7d85c88
tree88e7f9add3f9cb4bd3eaeb3bebd0414d8a727c87
parent68a2ebb54da4dfa2cc3a2239d2e2dfeec2c5e522
drm/tegra: sor: Extract common audio enabling code

The code to enable audio support is split into two parts, one being
generic for the SOR and another part that is specific whether the SOR is
in HDMI mode or in DP mode. Split out the common part in preparation for
reusing the code in DP mode.

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